Struct oss_rust_sdk::oss::ObjectMeta
source · pub struct ObjectMeta {
pub last_modified: SystemTime,
pub size: usize,
pub md5: String,
}
Fields§
§last_modified: SystemTime
The last modified time
size: usize
The size in bytes of the object
md5: String
128-bits RFC 1864 MD5. This field only presents in normal file. Multipart and append-able file will have empty md5.
Implementations§
source§impl ObjectMeta
impl ObjectMeta
pub fn from_header_map(header: &HeaderMap) -> Result<Self, Error>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ObjectMeta
impl Send for ObjectMeta
impl Sync for ObjectMeta
impl Unpin for ObjectMeta
impl UnwindSafe for ObjectMeta
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