pub struct ImmutableState {
pub addr: CellAddr,
pub data: StateAtom,
pub status: WitnessStatus,
}Fields§
§addr: CellAddr§data: StateAtom§status: WitnessStatusTrait Implementations§
Source§impl Clone for ImmutableState
impl Clone for ImmutableState
Source§fn clone(&self) -> ImmutableState
fn clone(&self) -> ImmutableState
Returns a duplicate 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 ImmutableState
impl Debug for ImmutableState
Source§impl<'de> Deserialize<'de> for ImmutableState
impl<'de> Deserialize<'de> for ImmutableState
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 for ImmutableState
impl PartialEq for ImmutableState
Source§impl Serialize for ImmutableState
impl Serialize for ImmutableState
impl Eq for ImmutableState
impl StructuralPartialEq for ImmutableState
Auto Trait Implementations§
impl Freeze for ImmutableState
impl RefUnwindSafe for ImmutableState
impl Send for ImmutableState
impl Sync for ImmutableState
impl Unpin for ImmutableState
impl UnwindSafe for ImmutableState
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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.