pub struct PullOutput {
pub remote_name: String,
pub new_commits: usize,
pub indexed_keys: usize,
pub materialized: bool,
}Expand description
Result of a pull operation.
Contains all the information needed by a CLI or other consumer to report what happened, without performing any I/O itself.
Fields§
§remote_name: StringThe remote that was pulled from.
new_commits: usizeNumber of new commits fetched.
indexed_keys: usizeNumber of historical keys indexed for lazy loading.
materialized: boolWhether materialization was performed.
Trait Implementations§
Source§impl Clone for PullOutput
impl Clone for PullOutput
Source§fn clone(&self) -> PullOutput
fn clone(&self) -> PullOutput
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 PullOutput
impl Debug for PullOutput
Source§impl PartialEq for PullOutput
impl PartialEq for PullOutput
Source§fn eq(&self, other: &PullOutput) -> bool
fn eq(&self, other: &PullOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for PullOutput
impl StructuralPartialEq for PullOutput
Auto Trait Implementations§
impl Freeze for PullOutput
impl RefUnwindSafe for PullOutput
impl Send for PullOutput
impl Sync for PullOutput
impl Unpin for PullOutput
impl UnsafeUnpin for PullOutput
impl UnwindSafe for PullOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.