pub struct GetObjectResponse {
pub body: Vec<u8>,
pub content_type: String,
pub content_length: usize,
pub etag: String,
pub last_modified: DateTime<Utc>,
pub metadata: HashMap<String, String>,
}Expand description
Response from get object
Fields§
§body: Vec<u8>§content_type: String§content_length: usize§etag: String§last_modified: DateTime<Utc>§metadata: HashMap<String, String>Trait Implementations§
Source§impl Clone for GetObjectResponse
impl Clone for GetObjectResponse
Source§fn clone(&self) -> GetObjectResponse
fn clone(&self) -> GetObjectResponse
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 moreAuto Trait Implementations§
impl Freeze for GetObjectResponse
impl RefUnwindSafe for GetObjectResponse
impl Send for GetObjectResponse
impl Sync for GetObjectResponse
impl Unpin for GetObjectResponse
impl UnwindSafe for GetObjectResponse
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