pub struct GetObjectResponse {
pub data: Vec<u8>,
pub content_length: u64,
pub content_type: String,
pub etag: String,
pub last_modified: Option<String>,
}
Expand description
获取对象响应
Fields§
§data: Vec<u8>
§content_length: u64
§content_type: String
§etag: String
§last_modified: Option<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