pub struct LfsBatchObject {
pub oid: String,
pub size: u64,
}Expand description
One batch request object: the pointer’s oid and its mandatory size (the batch’s size is mandatory — LFS clients always send it; the door refuses the size-less form before this surface).
Fields§
§oid: StringThe LFS media oid (the raw sha256 of the content — 64 hex, the media family’s digest; case as the client sent it, the validated form is lowercased).
size: u64The mandatory asserted media size.
Trait Implementations§
Source§impl Clone for LfsBatchObject
impl Clone for LfsBatchObject
Source§impl Debug for LfsBatchObject
impl Debug for LfsBatchObject
impl Eq for LfsBatchObject
Source§impl PartialEq for LfsBatchObject
impl PartialEq for LfsBatchObject
impl StructuralPartialEq for LfsBatchObject
Auto Trait Implementations§
impl Freeze for LfsBatchObject
impl RefUnwindSafe for LfsBatchObject
impl Send for LfsBatchObject
impl Sync for LfsBatchObject
impl Unpin for LfsBatchObject
impl UnsafeUnpin for LfsBatchObject
impl UnwindSafe for LfsBatchObject
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.