pub struct LfsObjectError {
pub code: u16,
pub message: &'static str,
}Expand description
A per-object error, carried in the response object (the LFS
per-object error shape — the object’s error field; the HTTP
mapping stays the door’s).
Fields§
§code: u16The LFS error code (403 refused, 404 not found, 422 malformed / disagreement, 500 server).
message: &'static strThe stable message text.
Trait Implementations§
Source§impl Clone for LfsObjectError
impl Clone for LfsObjectError
Source§impl Debug for LfsObjectError
impl Debug for LfsObjectError
impl Eq for LfsObjectError
Source§impl PartialEq for LfsObjectError
impl PartialEq for LfsObjectError
impl StructuralPartialEq for LfsObjectError
Auto Trait Implementations§
impl Freeze for LfsObjectError
impl RefUnwindSafe for LfsObjectError
impl Send for LfsObjectError
impl Sync for LfsObjectError
impl Unpin for LfsObjectError
impl UnsafeUnpin for LfsObjectError
impl UnwindSafe for LfsObjectError
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.