Struct respo::MaybeState
source · pub struct MaybeState(/* private fields */);
Expand description
local state in component could be None
according to the tree structure
Implementations§
source§impl MaybeState
impl MaybeState
Trait Implementations§
source§impl Clone for MaybeState
impl Clone for MaybeState
source§fn clone(&self) -> MaybeState
fn clone(&self) -> MaybeState
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MaybeState
impl Debug for MaybeState
source§impl Default for MaybeState
impl Default for MaybeState
source§fn default() -> MaybeState
fn default() -> MaybeState
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for MaybeState
impl<'de> Deserialize<'de> for MaybeState
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 PartialEq<MaybeState> for MaybeState
impl PartialEq<MaybeState> for MaybeState
source§fn eq(&self, other: &MaybeState) -> bool
fn eq(&self, other: &MaybeState) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MaybeState
impl Serialize for MaybeState
impl Eq for MaybeState
impl StructuralEq for MaybeState
impl StructuralPartialEq for MaybeState
Auto Trait Implementations§
impl RefUnwindSafe for MaybeState
impl Send for MaybeState
impl Sync for MaybeState
impl Unpin for MaybeState
impl UnwindSafe for MaybeState
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