pub struct LfsObjectStatus {
pub oid: String,
pub size: u64,
pub upload_url: Option<String>,
pub expires_in: Option<u32>,
pub exists: bool,
pub error: Option<LfsObjectError>,
}Expand description
Status of a single LFS object upload request.
Fields§
§oid: StringSHA-256 hash.
size: u64File size.
upload_url: Option<String>Pre-signed upload URL (None if object already exists).
expires_in: Option<u32>Seconds until URL expires.
exists: boolWhether the object already exists in storage.
error: Option<LfsObjectError>Error details if the request failed for this object.
Trait Implementations§
Source§impl Clone for LfsObjectStatus
impl Clone for LfsObjectStatus
Source§fn clone(&self) -> LfsObjectStatus
fn clone(&self) -> LfsObjectStatus
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LfsObjectStatus
impl Debug for LfsObjectStatus
Source§impl<'de> Deserialize<'de> for LfsObjectStatus
impl<'de> Deserialize<'de> for LfsObjectStatus
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for LfsObjectStatus
impl RefUnwindSafe for LfsObjectStatus
impl Send for LfsObjectStatus
impl Sync for LfsObjectStatus
impl Unpin for LfsObjectStatus
impl UnwindSafe for LfsObjectStatus
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