pub struct HeadFileResponse {
pub headers: Option<HashMap<String, String>>,
pub etag: Option<String>,
pub content_type: String,
pub content_length: u64,
pub last_modified: Option<String>,
}Expand description
Re-export configuration for s3 credential This struct describe the response headers of head file api request.
Fields§
§headers: Option<HashMap<String, String>>§etag: Option<String>Http response headers
content_type: StringContent-Type of the file
content_length: u64Content-length of the file.
last_modified: Option<String>Last modified time.
Trait Implementations§
Source§impl Debug for HeadFileResponse
impl Debug for HeadFileResponse
Source§impl<'de> Deserialize<'de> for HeadFileResponse
impl<'de> Deserialize<'de> for HeadFileResponse
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 HeadFileResponse
impl RefUnwindSafe for HeadFileResponse
impl Send for HeadFileResponse
impl Sync for HeadFileResponse
impl Unpin for HeadFileResponse
impl UnsafeUnpin for HeadFileResponse
impl UnwindSafe for HeadFileResponse
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