pub enum SyncBucketKey {
User,
Space {
space_id: InlineId,
},
Chat {
peer: SyncBucketPeer,
},
}Expand description
Stable identity of an Inline update bucket.
Variants§
User
Updates scoped to the authenticated user.
Space
Updates scoped to an Inline space.
Chat
Updates scoped to a direct-message or chat peer.
Fields
§
peer: SyncBucketPeerPeer that owns the chat bucket.
Trait Implementations§
Source§impl Clone for SyncBucketKey
impl Clone for SyncBucketKey
Source§fn clone(&self) -> SyncBucketKey
fn clone(&self) -> SyncBucketKey
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 moreimpl Copy for SyncBucketKey
Source§impl Debug for SyncBucketKey
impl Debug for SyncBucketKey
impl Eq for SyncBucketKey
Source§impl Hash for SyncBucketKey
impl Hash for SyncBucketKey
Source§impl PartialEq for SyncBucketKey
impl PartialEq for SyncBucketKey
impl StructuralPartialEq for SyncBucketKey
Auto Trait Implementations§
impl Freeze for SyncBucketKey
impl RefUnwindSafe for SyncBucketKey
impl Send for SyncBucketKey
impl Sync for SyncBucketKey
impl Unpin for SyncBucketKey
impl UnsafeUnpin for SyncBucketKey
impl UnwindSafe for SyncBucketKey
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