pub struct SourceTargetSnapshot {
pub version: u16,
pub scope: CollaborationScope,
pub state: StateId,
pub collaboration_frontier: ContentHash,
pub files: Option<ContentHash>,
pub targets: Option<ContentHash>,
}Fields§
§version: u16§scope: CollaborationScope§state: StateId§collaboration_frontier: ContentHashCommitment to the exact sorted collaboration heads at capture. Keeping individual private operation IDs out of source-only publication avoids revealing withheld discussion membership.
files: Option<ContentHash>§targets: Option<ContentHash>Implementations§
Trait Implementations§
Source§impl Clone for SourceTargetSnapshot
impl Clone for SourceTargetSnapshot
Source§impl Debug for SourceTargetSnapshot
impl Debug for SourceTargetSnapshot
Source§impl<'de> Deserialize<'de> for SourceTargetSnapshot
impl<'de> Deserialize<'de> for SourceTargetSnapshot
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 SourceTargetSnapshot
Source§impl PartialEq for SourceTargetSnapshot
impl PartialEq for SourceTargetSnapshot
Source§impl Serialize for SourceTargetSnapshot
impl Serialize for SourceTargetSnapshot
impl StructuralPartialEq for SourceTargetSnapshot
Auto Trait Implementations§
impl Freeze for SourceTargetSnapshot
impl RefUnwindSafe for SourceTargetSnapshot
impl Send for SourceTargetSnapshot
impl Sync for SourceTargetSnapshot
impl Unpin for SourceTargetSnapshot
impl UnsafeUnpin for SourceTargetSnapshot
impl UnwindSafe for SourceTargetSnapshot
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