pub struct SeededBundle {
pub uri: String,
pub bytes: u64,
pub resumed_from: u64,
pub transfer: TransferStats,
pub refs: Vec<(String, ObjectId)>,
}Expand description
A bundle that seeded a clone.
Fields§
§uri: StringWhere it was downloaded from.
bytes: u64Size of the bundle file.
resumed_from: u64Bytes an earlier interrupted clone had already downloaded.
transfer: TransferStatsObjects and pack bytes unpacked from it.
refs: Vec<(String, ObjectId)>Tips recorded under BUNDLE_REFS_PREFIX.
Trait Implementations§
Source§impl Clone for SeededBundle
impl Clone for SeededBundle
Source§impl Debug for SeededBundle
impl Debug for SeededBundle
impl Eq for SeededBundle
Source§impl PartialEq for SeededBundle
impl PartialEq for SeededBundle
impl StructuralPartialEq for SeededBundle
Auto Trait Implementations§
impl Freeze for SeededBundle
impl RefUnwindSafe for SeededBundle
impl Send for SeededBundle
impl Sync for SeededBundle
impl Unpin for SeededBundle
impl UnsafeUnpin for SeededBundle
impl UnwindSafe for SeededBundle
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§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.