pub struct SetBlockedUrLs {
pub method: SetBlockedUrLsMethod,
pub params: SetBlockedUrLsParams,
}Expand description
Blocks URLs from loading. setBlockedURLs
Fields§
§method: SetBlockedUrLsMethod§params: SetBlockedUrLsParamsImplementations§
Source§impl SetBlockedUrLs
impl SetBlockedUrLs
pub fn builder() -> SetBlockedUrLsBuilder
Source§impl SetBlockedUrLs
impl SetBlockedUrLs
pub const IDENTIFIER: &'static str = "Network.setBlockedURLs"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetBlockedUrLs
impl Clone for SetBlockedUrLs
Source§fn clone(&self) -> SetBlockedUrLs
fn clone(&self) -> SetBlockedUrLs
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 SetBlockedUrLs
impl CommandResult for SetBlockedUrLs
type Result = SetBlockedUrLsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetBlockedUrLs
impl Debug for SetBlockedUrLs
Source§impl<'de> Deserialize<'de> for SetBlockedUrLs
impl<'de> Deserialize<'de> for SetBlockedUrLs
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<SetBlockedUrLs> for BrowserProtocolCommands
impl From<SetBlockedUrLs> for BrowserProtocolCommands
Source§fn from(v: SetBlockedUrLs) -> Self
fn from(v: SetBlockedUrLs) -> Self
Converts to this type from the input type.
Source§impl From<SetBlockedUrLs> for Command
impl From<SetBlockedUrLs> for Command
Source§fn from(v: SetBlockedUrLs) -> Self
fn from(v: SetBlockedUrLs) -> Self
Converts to this type from the input type.
Source§impl From<SetBlockedUrLs> for NetworkCommands
impl From<SetBlockedUrLs> for NetworkCommands
Source§fn from(v: SetBlockedUrLs) -> Self
fn from(v: SetBlockedUrLs) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetBlockedUrLs
impl PartialEq for SetBlockedUrLs
Source§impl Serialize for SetBlockedUrLs
impl Serialize for SetBlockedUrLs
Source§impl TryFrom<BrowserProtocolCommands> for SetBlockedUrLs
impl TryFrom<BrowserProtocolCommands> for SetBlockedUrLs
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, <SetBlockedUrLs as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetBlockedUrLs as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetBlockedUrLs
impl TryFrom<Command> for SetBlockedUrLs
Source§impl TryFrom<NetworkCommands> for SetBlockedUrLs
impl TryFrom<NetworkCommands> for SetBlockedUrLs
Source§type Error = NetworkCommands
type Error = NetworkCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: NetworkCommands,
) -> Result<Self, <SetBlockedUrLs as TryFrom<NetworkCommands>>::Error>
fn try_from( e: NetworkCommands, ) -> Result<Self, <SetBlockedUrLs as TryFrom<NetworkCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetBlockedUrLs
Auto Trait Implementations§
impl Freeze for SetBlockedUrLs
impl RefUnwindSafe for SetBlockedUrLs
impl Send for SetBlockedUrLs
impl Sync for SetBlockedUrLs
impl Unpin for SetBlockedUrLs
impl UnsafeUnpin for SetBlockedUrLs
impl UnwindSafe for SetBlockedUrLs
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