pub enum StateMutation {
Put(String, Value),
Delete(String),
}Expand description
State 的 Mutation — HashMap 级别的变更。
Variants§
Trait Implementations§
Source§impl Clone for StateMutation
impl Clone for StateMutation
Source§fn clone(&self) -> StateMutation
fn clone(&self) -> StateMutation
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 moreSource§impl Debug for StateMutation
impl Debug for StateMutation
Source§impl<'de> Deserialize<'de> for StateMutation
impl<'de> Deserialize<'de> for StateMutation
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 Serialize for StateMutation
impl Serialize for StateMutation
Auto Trait Implementations§
impl Freeze for StateMutation
impl RefUnwindSafe for StateMutation
impl Send for StateMutation
impl Sync for StateMutation
impl Unpin for StateMutation
impl UnsafeUnpin for StateMutation
impl UnwindSafe for StateMutation
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