pub enum CustodyState {
Free,
Detained,
Hostage,
Captive,
Hiding,
Exile,
}Expand description
Whether a person is free to act. Absent availability means
CustodyState::Free.
Variants§
Trait Implementations§
Source§impl Clone for CustodyState
impl Clone for CustodyState
impl Copy for CustodyState
Source§impl Debug for CustodyState
impl Debug for CustodyState
Source§impl Default for CustodyState
impl Default for CustodyState
Source§impl<'de> Deserialize<'de> for CustodyState
impl<'de> Deserialize<'de> for CustodyState
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 CustodyState
Source§impl Hash for CustodyState
impl Hash for CustodyState
Source§impl Ord for CustodyState
impl Ord for CustodyState
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 CustodyState
impl PartialEq for CustodyState
Source§impl PartialOrd for CustodyState
impl PartialOrd for CustodyState
Source§impl Serialize for CustodyState
impl Serialize for CustodyState
impl StructuralPartialEq for CustodyState
Auto Trait Implementations§
impl Freeze for CustodyState
impl RefUnwindSafe for CustodyState
impl Send for CustodyState
impl Sync for CustodyState
impl Unpin for CustodyState
impl UnsafeUnpin for CustodyState
impl UnwindSafe for CustodyState
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