pub struct RemoteMetadata {
pub etag: Option<String>,
pub last_modified: Option<String>,
pub content_length: Option<u64>,
}Expand description
Metadata about a remote file for conditional requests.
Fields§
§etag: Option<String>ETag header value if present
last_modified: Option<String>Last-Modified header value if present
content_length: Option<u64>Content-Length header value if present
Trait Implementations§
Source§impl Clone for RemoteMetadata
impl Clone for RemoteMetadata
Source§fn clone(&self) -> RemoteMetadata
fn clone(&self) -> RemoteMetadata
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 RemoteMetadata
impl RefUnwindSafe for RemoteMetadata
impl Send for RemoteMetadata
impl Sync for RemoteMetadata
impl Unpin for RemoteMetadata
impl UnsafeUnpin for RemoteMetadata
impl UnwindSafe for RemoteMetadata
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