pub struct SnapshotOutcome {
pub commit_id: ObjectId,
pub manifest_id: ObjectId,
pub file_count: usize,
pub branch: Option<String>,
}Expand description
Result of a successful snapshot.
Fields§
§commit_id: ObjectId§manifest_id: ObjectId§file_count: usize§branch: Option<String>The branch the snapshot advanced, if HEAD was attached.
Trait Implementations§
Source§impl Clone for SnapshotOutcome
impl Clone for SnapshotOutcome
Source§fn clone(&self) -> SnapshotOutcome
fn clone(&self) -> SnapshotOutcome
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for SnapshotOutcome
impl RefUnwindSafe for SnapshotOutcome
impl Send for SnapshotOutcome
impl Sync for SnapshotOutcome
impl Unpin for SnapshotOutcome
impl UnsafeUnpin for SnapshotOutcome
impl UnwindSafe for SnapshotOutcome
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