pub struct DownloadUrlCommand {
pub url: String,
pub expected_content_type: Option<String>,
pub max_bytes: u64,
pub save_as: Option<String>,
}Fields§
§url: String§expected_content_type: Option<String>§max_bytes: u64§save_as: Option<String>Trait Implementations§
Source§impl Clone for DownloadUrlCommand
impl Clone for DownloadUrlCommand
Source§impl Debug for DownloadUrlCommand
impl Debug for DownloadUrlCommand
Source§impl<'de> Deserialize<'de> for DownloadUrlCommand
impl<'de> Deserialize<'de> for DownloadUrlCommand
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 DownloadUrlCommand
impl RefUnwindSafe for DownloadUrlCommand
impl Send for DownloadUrlCommand
impl Sync for DownloadUrlCommand
impl Unpin for DownloadUrlCommand
impl UnsafeUnpin for DownloadUrlCommand
impl UnwindSafe for DownloadUrlCommand
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