pub struct SnapshotMessage<'a> {
pub kind: &'static str,
pub snapshot: &'a Snapshot,
}Expand description
Carries a full tree for one revision.
Fields§
§kind: &'static strWire discriminator (type on the wire).
snapshot: &'a SnapshotThe tree being carried.
Implementations§
Trait Implementations§
Source§impl<'a> Clone for SnapshotMessage<'a>
impl<'a> Clone for SnapshotMessage<'a>
Source§fn clone(&self) -> SnapshotMessage<'a>
fn clone(&self) -> SnapshotMessage<'a>
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<'a> Debug for SnapshotMessage<'a>
impl<'a> Debug for SnapshotMessage<'a>
impl<'a> Eq for SnapshotMessage<'a>
Source§impl<'a> PartialEq for SnapshotMessage<'a>
impl<'a> PartialEq for SnapshotMessage<'a>
Source§impl<'a> Serialize for SnapshotMessage<'a>
impl<'a> Serialize for SnapshotMessage<'a>
impl<'a> StructuralPartialEq for SnapshotMessage<'a>
Auto Trait Implementations§
impl<'a> Freeze for SnapshotMessage<'a>
impl<'a> RefUnwindSafe for SnapshotMessage<'a>
impl<'a> Send for SnapshotMessage<'a>
impl<'a> Sync for SnapshotMessage<'a>
impl<'a> Unpin for SnapshotMessage<'a>
impl<'a> UnsafeUnpin for SnapshotMessage<'a>
impl<'a> UnwindSafe for SnapshotMessage<'a>
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