pub enum SessionIndexChange {
Added {
descriptor: SessionDescriptor,
},
Updated {
descriptor: SessionDescriptor,
},
Removed {
key: SessionIndexKey,
},
}Expand description
One complete replacement in a revisioned index delta.
Variants§
Added
A session entered the bounded result page.
Fields
§
descriptor: SessionDescriptorComplete current descriptor.
Updated
A visible session’s descriptor changed.
Fields
§
descriptor: SessionDescriptorComplete replacement descriptor.
Removed
A session disappeared from the bounded result page.
Fields
§
key: SessionIndexKeyStable identity of the removed descriptor.
Trait Implementations§
Source§impl Clone for SessionIndexChange
impl Clone for SessionIndexChange
Source§fn clone(&self) -> SessionIndexChange
fn clone(&self) -> SessionIndexChange
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 SessionIndexChange
impl Debug for SessionIndexChange
impl Eq for SessionIndexChange
Source§impl PartialEq for SessionIndexChange
impl PartialEq for SessionIndexChange
Source§impl Serialize for SessionIndexChange
impl Serialize for SessionIndexChange
impl StructuralPartialEq for SessionIndexChange
Auto Trait Implementations§
impl Freeze for SessionIndexChange
impl RefUnwindSafe for SessionIndexChange
impl Send for SessionIndexChange
impl Sync for SessionIndexChange
impl Unpin for SessionIndexChange
impl UnsafeUnpin for SessionIndexChange
impl UnwindSafe for SessionIndexChange
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§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.