#[non_exhaustive]pub struct PlacementRejection {
pub station: Option<String>,
pub theater: Option<String>,
pub agent: Option<String>,
pub reason: String,
}Expand description
One thing that was ruled out, and why. Absent fields mean the reason applies to every Station, Theater or Agent beneath it.
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.station: Option<String>The Station ruled out, or None for an Agent ruled out everywhere.
theater: Option<String>The Theater ruled out; None when the whole Station or Agent was.
agent: Option<String>The Agent ruled out; None when the whole Station or Theater was.
reason: StringWhy, in a sentence an operator can act on.
Trait Implementations§
Source§impl Clone for PlacementRejection
impl Clone for PlacementRejection
Source§impl Debug for PlacementRejection
impl Debug for PlacementRejection
Source§impl<'de> Deserialize<'de> for PlacementRejection
impl<'de> Deserialize<'de> for PlacementRejection
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for PlacementRejection
Source§impl PartialEq for PlacementRejection
impl PartialEq for PlacementRejection
Source§impl Serialize for PlacementRejection
impl Serialize for PlacementRejection
impl StructuralPartialEq for PlacementRejection
Auto Trait Implementations§
impl Freeze for PlacementRejection
impl RefUnwindSafe for PlacementRejection
impl Send for PlacementRejection
impl Sync for PlacementRejection
impl Unpin for PlacementRejection
impl UnsafeUnpin for PlacementRejection
impl UnwindSafe for PlacementRejection
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<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
§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.