pub struct SnapshotV0 {
pub heads: Vec<ObjectId>,
pub content: ObjectRef,
}
Expand description
Snapshot of a Branch
Contains a data structure computed from the commits at the specified head.
Fields§
§heads: Vec<ObjectId>
§content: ObjectRef
Reference to Object containing Snapshot data structure
Trait Implementations§
Source§impl Clone for SnapshotV0
impl Clone for SnapshotV0
Source§fn clone(&self) -> SnapshotV0
fn clone(&self) -> SnapshotV0
Returns a copy of the value. Read more
1.0.0 · 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 SnapshotV0
impl Debug for SnapshotV0
Source§impl<'de> Deserialize<'de> for SnapshotV0
impl<'de> Deserialize<'de> for SnapshotV0
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
Source§impl PartialEq for SnapshotV0
impl PartialEq for SnapshotV0
Source§impl Serialize for SnapshotV0
impl Serialize for SnapshotV0
impl Eq for SnapshotV0
impl StructuralPartialEq for SnapshotV0
Auto Trait Implementations§
impl Freeze for SnapshotV0
impl RefUnwindSafe for SnapshotV0
impl Send for SnapshotV0
impl Sync for SnapshotV0
impl Unpin for SnapshotV0
impl UnwindSafe for SnapshotV0
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