pub enum TypedStateEvent<T: DeserializeOwned> {
KeyValue(TypedKeyValuePair<T>),
Deleted(TypedKeyValuePair<T>),
}Variants§
KeyValue(TypedKeyValuePair<T>)
Deleted(TypedKeyValuePair<T>)
Trait Implementations§
source§impl<T: Clone + DeserializeOwned> Clone for TypedStateEvent<T>
impl<T: Clone + DeserializeOwned> Clone for TypedStateEvent<T>
source§fn clone(&self) -> TypedStateEvent<T>
fn clone(&self) -> TypedStateEvent<T>
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<T: Debug + DeserializeOwned> Debug for TypedStateEvent<T>
impl<T: Debug + DeserializeOwned> Debug for TypedStateEvent<T>
source§impl<T: DeserializeOwned> From<TypedKeyValuePair<T>> for TypedStateEvent<T>
impl<T: DeserializeOwned> From<TypedKeyValuePair<T>> for TypedStateEvent<T>
source§fn from(kvp: TypedKeyValuePair<T>) -> Self
fn from(kvp: TypedKeyValuePair<T>) -> Self
Converts to this type from the input type.
source§impl<T: DeserializeOwned> From<TypedStateEvent<T>> for Option<T>
impl<T: DeserializeOwned> From<TypedStateEvent<T>> for Option<T>
source§fn from(e: TypedStateEvent<T>) -> Self
fn from(e: TypedStateEvent<T>) -> Self
Converts to this type from the input type.
source§impl<T: PartialEq + DeserializeOwned> PartialEq for TypedStateEvent<T>
impl<T: PartialEq + DeserializeOwned> PartialEq for TypedStateEvent<T>
source§impl<T: DeserializeOwned> TryFrom<StateEvent> for TypedStateEvent<T>
impl<T: DeserializeOwned> TryFrom<StateEvent> for TypedStateEvent<T>
impl<T: Eq + DeserializeOwned> Eq for TypedStateEvent<T>
impl<T: DeserializeOwned> StructuralPartialEq for TypedStateEvent<T>
Auto Trait Implementations§
impl<T> Freeze for TypedStateEvent<T>where
T: Freeze,
impl<T> RefUnwindSafe for TypedStateEvent<T>where
T: RefUnwindSafe,
impl<T> Send for TypedStateEvent<T>where
T: Send,
impl<T> Sync for TypedStateEvent<T>where
T: Sync,
impl<T> Unpin for TypedStateEvent<T>where
T: Unpin,
impl<T> UnwindSafe for TypedStateEvent<T>where
T: UnwindSafe,
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)