pub struct CancelDownload {
pub method: CancelDownloadMethod,
pub params: CancelDownloadParams,
}Expand description
Cancel a download if in progress cancelDownload
Fields§
§method: CancelDownloadMethod§params: CancelDownloadParamsImplementations§
Source§impl CancelDownload
impl CancelDownload
pub fn builder() -> CancelDownloadBuilder
Source§impl CancelDownload
impl CancelDownload
pub const IDENTIFIER: &'static str = "Browser.cancelDownload"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CancelDownload
impl Clone for CancelDownload
Source§fn clone(&self) -> CancelDownload
fn clone(&self) -> CancelDownload
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 CommandResult for CancelDownload
impl CommandResult for CancelDownload
type Result = CancelDownloadResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CancelDownload
impl Debug for CancelDownload
Source§impl<'de> Deserialize<'de> for CancelDownload
impl<'de> Deserialize<'de> for CancelDownload
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
Source§impl From<CancelDownload> for BrowserCommands
impl From<CancelDownload> for BrowserCommands
Source§fn from(v: CancelDownload) -> Self
fn from(v: CancelDownload) -> Self
Converts to this type from the input type.
Source§impl From<CancelDownload> for BrowserProtocolCommands
impl From<CancelDownload> for BrowserProtocolCommands
Source§fn from(v: CancelDownload) -> Self
fn from(v: CancelDownload) -> Self
Converts to this type from the input type.
Source§impl From<CancelDownload> for Command
impl From<CancelDownload> for Command
Source§fn from(v: CancelDownload) -> Self
fn from(v: CancelDownload) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CancelDownload
impl PartialEq for CancelDownload
Source§impl Serialize for CancelDownload
impl Serialize for CancelDownload
Source§impl TryFrom<BrowserCommands> for CancelDownload
impl TryFrom<BrowserCommands> for CancelDownload
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <CancelDownload as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <CancelDownload as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for CancelDownload
impl TryFrom<BrowserProtocolCommands> for CancelDownload
Source§type Error = BrowserProtocolCommands
type Error = BrowserProtocolCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserProtocolCommands,
) -> Result<Self, <CancelDownload as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <CancelDownload as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CancelDownload
impl TryFrom<Command> for CancelDownload
impl StructuralPartialEq for CancelDownload
Auto Trait Implementations§
impl Freeze for CancelDownload
impl RefUnwindSafe for CancelDownload
impl Send for CancelDownload
impl Sync for CancelDownload
impl Unpin for CancelDownload
impl UnsafeUnpin for CancelDownload
impl UnwindSafe for CancelDownload
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