pub struct StopLoading {
pub method: StopLoadingMethod,
pub params: StopLoadingParams,
}Expand description
Force the page stop all navigations and pending resource fetches. stopLoading
Fields§
§method: StopLoadingMethod§params: StopLoadingParamsImplementations§
Source§impl StopLoading
impl StopLoading
pub fn builder() -> StopLoadingBuilder
Source§impl StopLoading
impl StopLoading
pub const IDENTIFIER: &'static str = "Page.stopLoading"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for StopLoading
impl Clone for StopLoading
Source§fn clone(&self) -> StopLoading
fn clone(&self) -> StopLoading
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 StopLoading
impl CommandResult for StopLoading
type Result = StopLoadingResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for StopLoading
impl Debug for StopLoading
Source§impl<'de> Deserialize<'de> for StopLoading
impl<'de> Deserialize<'de> for StopLoading
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<StopLoading> for BrowserProtocolCommands
impl From<StopLoading> for BrowserProtocolCommands
Source§fn from(v: StopLoading) -> Self
fn from(v: StopLoading) -> Self
Converts to this type from the input type.
Source§impl From<StopLoading> for Command
impl From<StopLoading> for Command
Source§fn from(v: StopLoading) -> Self
fn from(v: StopLoading) -> Self
Converts to this type from the input type.
Source§impl From<StopLoading> for PageCommands
impl From<StopLoading> for PageCommands
Source§fn from(v: StopLoading) -> Self
fn from(v: StopLoading) -> Self
Converts to this type from the input type.
Source§impl PartialEq for StopLoading
impl PartialEq for StopLoading
Source§impl Serialize for StopLoading
impl Serialize for StopLoading
Source§impl TryFrom<BrowserProtocolCommands> for StopLoading
impl TryFrom<BrowserProtocolCommands> for StopLoading
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, <StopLoading as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <StopLoading as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for StopLoading
impl TryFrom<Command> for StopLoading
Source§impl TryFrom<PageCommands> for StopLoading
impl TryFrom<PageCommands> for StopLoading
Source§type Error = PageCommands
type Error = PageCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PageCommands,
) -> Result<Self, <StopLoading as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <StopLoading as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for StopLoading
Auto Trait Implementations§
impl Freeze for StopLoading
impl RefUnwindSafe for StopLoading
impl Send for StopLoading
impl Sync for StopLoading
impl Unpin for StopLoading
impl UnsafeUnpin for StopLoading
impl UnwindSafe for StopLoading
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