pub struct RemoteFile {
pub location: String,
pub content_length: u64,
pub content_type: Option<String>,
}Fields§
§location: StringDownload URL.
content_length: u64Expected content length (bytes).
content_type: Option<String>Optional content type.
Trait Implementations§
Source§impl Clone for RemoteFile
impl Clone for RemoteFile
Source§fn clone(&self) -> RemoteFile
fn clone(&self) -> RemoteFile
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 RemoteFile
impl RefUnwindSafe for RemoteFile
impl Send for RemoteFile
impl Sync for RemoteFile
impl Unpin for RemoteFile
impl UnwindSafe for RemoteFile
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