pub struct LfsRow {
pub repo_id: String,
pub oid: String,
pub size: u64,
pub refcount: u64,
}Expand description
One LFS pointer-lifecycle row as the surface reads it back: the resolved repo id, the 64-hex LFS oid, the asserted size, and the oid’s current refcount (the module doc’s refcount semantics).
Fields§
§repo_id: StringThe registry-resolved repo id the reference belongs to.
oid: StringThe LFS media oid (64 lowercase hex — the raw sha256 of the content).
size: u64The asserted media size (the batch’s mandatory size; the last assertion’s value).
refcount: u64The oid’s current reference count — rows referencing the oid, itself included (the re-protection contract’s data).
Trait Implementations§
impl Eq for LfsRow
impl StructuralPartialEq for LfsRow
Auto Trait Implementations§
impl Freeze for LfsRow
impl RefUnwindSafe for LfsRow
impl Send for LfsRow
impl Sync for LfsRow
impl Unpin for LfsRow
impl UnsafeUnpin for LfsRow
impl UnwindSafe for LfsRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.