pub struct EmptyStateKey;
Available on crate feature
events
only.Expand description
A type that can be used as the state_key
for event types where that field is always empty.
Trait Implementations§
Source§impl AsRef<str> for EmptyStateKey
impl AsRef<str> for EmptyStateKey
Source§impl Clone for EmptyStateKey
impl Clone for EmptyStateKey
Source§fn clone(&self) -> EmptyStateKey
fn clone(&self) -> EmptyStateKey
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 EmptyStateKey
impl Debug for EmptyStateKey
Source§impl Default for EmptyStateKey
impl Default for EmptyStateKey
Source§fn default() -> EmptyStateKey
fn default() -> EmptyStateKey
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EmptyStateKey
impl<'de> Deserialize<'de> for EmptyStateKey
Source§fn deserialize<D>(
deserializer: D,
) -> Result<EmptyStateKey, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
fn deserialize<D>(
deserializer: D,
) -> Result<EmptyStateKey, <D as Deserializer<'de>>::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for EmptyStateKey
impl Ord for EmptyStateKey
Source§fn cmp(&self, other: &EmptyStateKey) -> Ordering
fn cmp(&self, other: &EmptyStateKey) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EmptyStateKey
impl PartialEq for EmptyStateKey
Source§impl PartialOrd for EmptyStateKey
impl PartialOrd for EmptyStateKey
Source§impl Serialize for EmptyStateKey
impl Serialize for EmptyStateKey
Source§fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
fn serialize<S>(
&self,
serializer: S,
) -> Result<<S as Serializer>::Ok, <S as Serializer>::Error>where
S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for EmptyStateKey
impl Eq for EmptyStateKey
impl StructuralPartialEq for EmptyStateKey
Auto Trait Implementations§
impl Freeze for EmptyStateKey
impl RefUnwindSafe for EmptyStateKey
impl Send for EmptyStateKey
impl Sync for EmptyStateKey
impl Unpin for EmptyStateKey
impl UnwindSafe for EmptyStateKey
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> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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.