pub struct WorkforceTransportMode {
pub export: Option<WorkforceFlow>,
pub import: Option<WorkforceImport>,
pub transit: Option<bool>,
}Expand description
The workforce transport of a sovereignty hub, as configured or as running.
Exactly one of the fields is set.
Fields§
§export: Option<WorkforceFlow>Workforce is exported.
import: Option<WorkforceImport>Workforce is imported from the listed systems.
transit: Option<bool>Workforce is in transit.
Trait Implementations§
Source§impl Clone for WorkforceTransportMode
impl Clone for WorkforceTransportMode
Source§impl Debug for WorkforceTransportMode
impl Debug for WorkforceTransportMode
Source§impl<'de> Deserialize<'de> for WorkforceTransportMode
impl<'de> Deserialize<'de> for WorkforceTransportMode
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 WorkforceTransportMode
Source§impl PartialEq for WorkforceTransportMode
impl PartialEq for WorkforceTransportMode
Source§impl Serialize for WorkforceTransportMode
impl Serialize for WorkforceTransportMode
impl StructuralPartialEq for WorkforceTransportMode
Auto Trait Implementations§
impl Freeze for WorkforceTransportMode
impl RefUnwindSafe for WorkforceTransportMode
impl Send for WorkforceTransportMode
impl Sync for WorkforceTransportMode
impl Unpin for WorkforceTransportMode
impl UnsafeUnpin for WorkforceTransportMode
impl UnwindSafe for WorkforceTransportMode
Blanket Implementations§
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>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.