pub struct LfsBatchResponse {
pub transfer: &'static str,
pub hash_algo: &'static str,
pub objects: Vec<LfsObjectAnswer>,
}Expand description
The batch/checking response — the transfer is basic and the
served algorithm is sha256 (the pinned protocol facts; the door
serializes the JSON shape).
Fields§
§transfer: &'static strThe negotiated transfer adapter ("basic").
hash_algo: &'static strThe served hash algorithm ("sha256" — the only one).
objects: Vec<LfsObjectAnswer>One answer per request object, request order.
Trait Implementations§
Source§impl Clone for LfsBatchResponse
impl Clone for LfsBatchResponse
Source§impl Debug for LfsBatchResponse
impl Debug for LfsBatchResponse
impl Eq for LfsBatchResponse
Source§impl PartialEq for LfsBatchResponse
impl PartialEq for LfsBatchResponse
impl StructuralPartialEq for LfsBatchResponse
Auto Trait Implementations§
impl Freeze for LfsBatchResponse
impl RefUnwindSafe for LfsBatchResponse
impl Send for LfsBatchResponse
impl Sync for LfsBatchResponse
impl Unpin for LfsBatchResponse
impl UnsafeUnpin for LfsBatchResponse
impl UnwindSafe for LfsBatchResponse
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.