Struct ya_client_model::activity::activity_state::StatePair
source · pub struct StatePair(pub State, pub Option<State>);Tuple Fields§
§0: State§1: Option<State>Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for StatePair
impl<'de> Deserialize<'de> for StatePair
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
source§impl From<&StatePair> for ActivityState
impl From<&StatePair> for ActivityState
source§impl From<StatePair> for ActivityState
impl From<StatePair> for ActivityState
source§impl Ord for StatePair
impl Ord for StatePair
source§impl PartialEq for StatePair
impl PartialEq for StatePair
source§impl PartialOrd for StatePair
impl PartialOrd for StatePair
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read moreimpl Copy for StatePair
impl Eq for StatePair
impl StructuralEq for StatePair
impl StructuralPartialEq for StatePair
Auto Trait Implementations§
impl RefUnwindSafe for StatePair
impl Send for StatePair
impl Sync for StatePair
impl Unpin for StatePair
impl UnwindSafe for StatePair
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