pub enum CollaborationOperationBodyV1 {
Open {
title: String,
anchor: CollaborationAnchor,
visibility: VisibilityTier,
turn: DiscussionTurnV1,
},
AppendTurn {
turn: DiscussionTurnV1,
},
Resolve {
resolution: CollaborationResolution,
},
Reopen {
reason: String,
},
ResolveConflict {
competing: Vec<CollabOpId>,
selected: CollabOpId,
},
LegacyImported {
source: LegacySourceLocator,
legacy_discussion_id: LegacyDiscussionId,
aliases: Vec<LegacySourceLocator>,
title: String,
anchor: CollaborationAnchor,
visibility: VisibilityTier,
turns: Vec<DiscussionTurnV1>,
resolution: LegacyDiscussionResolutionV1,
},
}Variants§
Open
AppendTurn
Fields
§
turn: DiscussionTurnV1Resolve
Fields
§
resolution: CollaborationResolutionReopen
ResolveConflict
LegacyImported
Fields
§
source: LegacySourceLocator§
legacy_discussion_id: LegacyDiscussionId§
aliases: Vec<LegacySourceLocator>§
anchor: CollaborationAnchor§
visibility: VisibilityTier§
turns: Vec<DiscussionTurnV1>§
resolution: LegacyDiscussionResolutionV1Implementations§
Trait Implementations§
Source§impl Clone for CollaborationOperationBodyV1
impl Clone for CollaborationOperationBodyV1
Source§fn clone(&self) -> CollaborationOperationBodyV1
fn clone(&self) -> CollaborationOperationBodyV1
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 CollaborationOperationBodyV1
impl Debug for CollaborationOperationBodyV1
Source§impl<'de> Deserialize<'de> for CollaborationOperationBodyV1
impl<'de> Deserialize<'de> for CollaborationOperationBodyV1
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
impl Eq for CollaborationOperationBodyV1
impl StructuralPartialEq for CollaborationOperationBodyV1
Auto Trait Implementations§
impl Freeze for CollaborationOperationBodyV1
impl RefUnwindSafe for CollaborationOperationBodyV1
impl Send for CollaborationOperationBodyV1
impl Sync for CollaborationOperationBodyV1
impl Unpin for CollaborationOperationBodyV1
impl UnsafeUnpin for CollaborationOperationBodyV1
impl UnwindSafe for CollaborationOperationBodyV1
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