pub struct CancelDownloadCommand { /* private fields */ }
Available on crate features
Browser
and experimental
only.Expand description
Cancel a download if in progress
Implementations§
Trait Implementations§
Source§impl Clone for CancelDownloadCommand
impl Clone for CancelDownloadCommand
Source§fn clone(&self) -> CancelDownloadCommand
fn clone(&self) -> CancelDownloadCommand
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 moreSource§impl Command for CancelDownloadCommand
impl Command for CancelDownloadCommand
Source§impl Debug for CancelDownloadCommand
impl Debug for CancelDownloadCommand
Source§impl<'de> Deserialize<'de> for CancelDownloadCommand
impl<'de> Deserialize<'de> for CancelDownloadCommand
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 CancelDownloadCommand
impl RefUnwindSafe for CancelDownloadCommand
impl Send for CancelDownloadCommand
impl Sync for CancelDownloadCommand
impl Unpin for CancelDownloadCommand
impl UnwindSafe for CancelDownloadCommand
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