pub enum CollaborationMention {
Spool {
spool: Uuid,
},
Thread {
spool: Uuid,
thread: ContentHash,
},
State {
spool: Uuid,
state: StateId,
},
GitCommit {
spool: Uuid,
oid: String,
},
Checkout {
spool: Uuid,
device: [u8; 32],
id: String,
},
Record {
spool: Option<Uuid>,
record_kind: CollaborationRecordKind,
id: String,
},
Device {
key: [u8; 32],
},
}Variants§
Implementations§
Source§impl CollaborationMention
impl CollaborationMention
pub fn validate(&self) -> Result<(), CollaborationCodecError>
Trait Implementations§
Source§impl Clone for CollaborationMention
impl Clone for CollaborationMention
Source§fn clone(&self) -> CollaborationMention
fn clone(&self) -> CollaborationMention
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 CollaborationMention
impl Debug for CollaborationMention
Source§impl<'de> Deserialize<'de> for CollaborationMention
impl<'de> Deserialize<'de> for CollaborationMention
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CollaborationMention, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CollaborationMention, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for CollaborationMention
Source§impl PartialEq for CollaborationMention
impl PartialEq for CollaborationMention
Source§impl Serialize for CollaborationMention
impl Serialize for CollaborationMention
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 StructuralPartialEq for CollaborationMention
Auto Trait Implementations§
impl Freeze for CollaborationMention
impl RefUnwindSafe for CollaborationMention
impl Send for CollaborationMention
impl Sync for CollaborationMention
impl Unpin for CollaborationMention
impl UnsafeUnpin for CollaborationMention
impl UnwindSafe for CollaborationMention
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