#[non_exhaustive]pub struct PlacementPreview {
pub operation_id: String,
pub policy_station: String,
pub choices: Vec<PlacementChoice>,
pub rejections: Vec<PlacementRejection>,
}Expand description
Where a Mission for the Operation would run, and why each other place would not.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.operation_id: StringThe Operation previewed.
policy_station: StringThe Station whose copy of the Operation’s policy was used: the Headquarters Station when it publishes one, otherwise the first Station that does.
choices: Vec<PlacementChoice>Eligible (Station, Theater, Agent) choices, best first.
rejections: Vec<PlacementRejection>Everything ruled out, each with its reason.
Trait Implementations§
Source§impl Clone for PlacementPreview
impl Clone for PlacementPreview
Source§impl Debug for PlacementPreview
impl Debug for PlacementPreview
impl Eq for PlacementPreview
Source§impl PartialEq for PlacementPreview
impl PartialEq for PlacementPreview
Source§impl Serialize for PlacementPreview
impl Serialize for PlacementPreview
impl StructuralPartialEq for PlacementPreview
Auto Trait Implementations§
impl Freeze for PlacementPreview
impl RefUnwindSafe for PlacementPreview
impl Send for PlacementPreview
impl Sync for PlacementPreview
impl Unpin for PlacementPreview
impl UnsafeUnpin for PlacementPreview
impl UnwindSafe for PlacementPreview
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.