pub struct LfsObjectAnswer {
pub oid: String,
pub size: u64,
pub authenticated: bool,
pub error: Option<LfsObjectError>,
pub actions: Option<LfsActions>,
}Expand description
One batch response object — the pinned shape {oid, size, authenticated} plus the optional per-object error/actions
branches. authenticated is true whenever the object is
answered: the request rode the wired ownership provider’s grant
(the ops ACL path), so every served action is server-authorized —
the anonymous-public composition (the door’s synthesized anon
identity on a public repo’s read) answers the same way.
Fields§
§oid: StringThe object’s oid, echoed in the validated lowercase form.
size: u64The object’s asserted size.
authenticated: boolThe server-authorized flag (see the type doc).
error: Option<LfsObjectError>The per-object error branch (None for answered objects).
actions: Option<LfsActions>The per-object action branch (None when there is nothing to
do — the already-present object of an upload batch, the
idempotent re-push’s posture).
Trait Implementations§
Source§impl Clone for LfsObjectAnswer
impl Clone for LfsObjectAnswer
Source§impl Debug for LfsObjectAnswer
impl Debug for LfsObjectAnswer
impl Eq for LfsObjectAnswer
Source§impl PartialEq for LfsObjectAnswer
impl PartialEq for LfsObjectAnswer
impl StructuralPartialEq for LfsObjectAnswer
Auto Trait Implementations§
impl Freeze for LfsObjectAnswer
impl RefUnwindSafe for LfsObjectAnswer
impl Send for LfsObjectAnswer
impl Sync for LfsObjectAnswer
impl Unpin for LfsObjectAnswer
impl UnsafeUnpin for LfsObjectAnswer
impl UnwindSafe for LfsObjectAnswer
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.