pub enum MovementSubjectRole {
MovablePrincipal,
Cargo,
Carrier,
Passenger,
Attached,
}Expand description
The physical role of a subject in a movement manifest.
Variants§
Trait Implementations§
Source§impl Clone for MovementSubjectRole
impl Clone for MovementSubjectRole
Source§fn clone(&self) -> MovementSubjectRole
fn clone(&self) -> MovementSubjectRole
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MovementSubjectRole
Source§impl Debug for MovementSubjectRole
impl Debug for MovementSubjectRole
Source§impl<'de> Deserialize<'de> for MovementSubjectRole
impl<'de> Deserialize<'de> for MovementSubjectRole
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MovementSubjectRole, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MovementSubjectRole, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MovementSubjectRole
Source§impl Ord for MovementSubjectRole
impl Ord for MovementSubjectRole
Source§fn cmp(&self, other: &MovementSubjectRole) -> Ordering
fn cmp(&self, other: &MovementSubjectRole) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for MovementSubjectRole
impl PartialEq for MovementSubjectRole
Source§impl PartialOrd for MovementSubjectRole
impl PartialOrd for MovementSubjectRole
Source§impl Serialize for MovementSubjectRole
impl Serialize for MovementSubjectRole
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for MovementSubjectRole
Auto Trait Implementations§
impl Freeze for MovementSubjectRole
impl RefUnwindSafe for MovementSubjectRole
impl Send for MovementSubjectRole
impl Sync for MovementSubjectRole
impl Unpin for MovementSubjectRole
impl UnsafeUnpin for MovementSubjectRole
impl UnwindSafe for MovementSubjectRole
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