pub struct ObjectDetails {
pub bucket_key: String,
pub object_key: String,
pub object_id: String,
pub sha1: String,
pub size: u64,
pub content_type: String,
pub content_disposition: Option<String>,
pub created_date: Option<String>,
pub last_modified_date: Option<String>,
pub location: Option<String>,
}Expand description
Extended object metadata returned by object details endpoint
Fields§
§bucket_key: StringBucket key
object_key: StringObject key (filename)
object_id: StringObject ID (URN format)
sha1: StringSHA-1 hash of the object
size: u64Object size in bytes
content_type: StringMIME content type
content_disposition: Option<String>Content disposition header value
created_date: Option<String>Creation timestamp (ISO 8601)
last_modified_date: Option<String>Last modified timestamp (ISO 8601)
location: Option<String>Location URL
Trait Implementations§
Source§impl Clone for ObjectDetails
impl Clone for ObjectDetails
Source§fn clone(&self) -> ObjectDetails
fn clone(&self) -> ObjectDetails
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 ObjectDetails
impl Debug for ObjectDetails
Source§impl<'de> Deserialize<'de> for ObjectDetails
impl<'de> Deserialize<'de> for ObjectDetails
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 ObjectDetails
impl RefUnwindSafe for ObjectDetails
impl Send for ObjectDetails
impl Sync for ObjectDetails
impl Unpin for ObjectDetails
impl UnsafeUnpin for ObjectDetails
impl UnwindSafe for ObjectDetails
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