pub struct ObjectItem {
pub path: String,
pub path_type: String,
pub physical_address: String,
pub checksum: String,
pub size_bytes: u64,
pub mtime: u64,
pub metadata: Option<RepositoryMetadata>,
pub content_type: String,
}
Fields§
§path: String
§path_type: String
§physical_address: String
§checksum: String
§size_bytes: u64
§mtime: u64
§metadata: Option<RepositoryMetadata>
§content_type: String
Trait Implementations§
Source§impl Clone for ObjectItem
impl Clone for ObjectItem
Source§fn clone(&self) -> ObjectItem
fn clone(&self) -> ObjectItem
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 ObjectItem
impl Debug for ObjectItem
Source§impl<'de> Deserialize<'de> for ObjectItem
impl<'de> Deserialize<'de> for ObjectItem
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 ObjectItem
impl RefUnwindSafe for ObjectItem
impl Send for ObjectItem
impl Sync for ObjectItem
impl Unpin for ObjectItem
impl UnwindSafe for ObjectItem
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