pub struct SetRphRegistrationMode {
pub method: SetRphRegistrationModeMethod,
pub params: SetRphRegistrationModeParams,
}Expand description
Extensions for Custom Handlers API: https://html.spec.whatwg.org/multipage/system-state.html#rph-automation setRPHRegistrationMode
Fields§
§method: SetRphRegistrationModeMethod§params: SetRphRegistrationModeParamsImplementations§
Source§impl SetRphRegistrationMode
impl SetRphRegistrationMode
pub fn builder() -> SetRphRegistrationModeBuilder
Source§impl SetRphRegistrationMode
impl SetRphRegistrationMode
pub const IDENTIFIER: &'static str = "Page.setRPHRegistrationMode"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetRphRegistrationMode
impl Clone for SetRphRegistrationMode
Source§fn clone(&self) -> SetRphRegistrationMode
fn clone(&self) -> SetRphRegistrationMode
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 SetRphRegistrationMode
impl CommandResult for SetRphRegistrationMode
type Result = SetRphRegistrationModeResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetRphRegistrationMode
impl Debug for SetRphRegistrationMode
Source§impl<'de> Deserialize<'de> for SetRphRegistrationMode
impl<'de> Deserialize<'de> for SetRphRegistrationMode
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<SetRphRegistrationMode> for BrowserProtocolCommands
impl From<SetRphRegistrationMode> for BrowserProtocolCommands
Source§fn from(v: SetRphRegistrationMode) -> Self
fn from(v: SetRphRegistrationMode) -> Self
Converts to this type from the input type.
Source§impl From<SetRphRegistrationMode> for Command
impl From<SetRphRegistrationMode> for Command
Source§fn from(v: SetRphRegistrationMode) -> Self
fn from(v: SetRphRegistrationMode) -> Self
Converts to this type from the input type.
Source§impl From<SetRphRegistrationMode> for PageCommands
impl From<SetRphRegistrationMode> for PageCommands
Source§fn from(v: SetRphRegistrationMode) -> Self
fn from(v: SetRphRegistrationMode) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetRphRegistrationMode
impl PartialEq for SetRphRegistrationMode
Source§impl Serialize for SetRphRegistrationMode
impl Serialize for SetRphRegistrationMode
Source§impl TryFrom<BrowserProtocolCommands> for SetRphRegistrationMode
impl TryFrom<BrowserProtocolCommands> for SetRphRegistrationMode
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, <SetRphRegistrationMode as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetRphRegistrationMode as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetRphRegistrationMode
impl TryFrom<Command> for SetRphRegistrationMode
Source§impl TryFrom<PageCommands> for SetRphRegistrationMode
impl TryFrom<PageCommands> for SetRphRegistrationMode
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, <SetRphRegistrationMode as TryFrom<PageCommands>>::Error>
fn try_from( e: PageCommands, ) -> Result<Self, <SetRphRegistrationMode as TryFrom<PageCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for SetRphRegistrationMode
Auto Trait Implementations§
impl Freeze for SetRphRegistrationMode
impl RefUnwindSafe for SetRphRegistrationMode
impl Send for SetRphRegistrationMode
impl Sync for SetRphRegistrationMode
impl Unpin for SetRphRegistrationMode
impl UnsafeUnpin for SetRphRegistrationMode
impl UnwindSafe for SetRphRegistrationMode
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