pub struct SupersessionKey(pub String);Expand description
Key for supersession scoping (same key = same supersession window).
Tuple Fields§
§0: StringImplementations§
Trait Implementations§
Source§impl Clone for SupersessionKey
impl Clone for SupersessionKey
Source§fn clone(&self) -> SupersessionKey
fn clone(&self) -> SupersessionKey
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 SupersessionKey
impl Debug for SupersessionKey
Source§impl<'de> Deserialize<'de> for SupersessionKey
impl<'de> Deserialize<'de> for SupersessionKey
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 Display for SupersessionKey
impl Display for SupersessionKey
Source§impl Hash for SupersessionKey
impl Hash for SupersessionKey
Source§impl PartialEq for SupersessionKey
impl PartialEq for SupersessionKey
Source§impl Serialize for SupersessionKey
impl Serialize for SupersessionKey
impl Eq for SupersessionKey
impl StructuralPartialEq for SupersessionKey
Auto Trait Implementations§
impl Freeze for SupersessionKey
impl RefUnwindSafe for SupersessionKey
impl Send for SupersessionKey
impl Sync for SupersessionKey
impl Unpin for SupersessionKey
impl UnsafeUnpin for SupersessionKey
impl UnwindSafe for SupersessionKey
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.