pub struct OpenUrl {
pub method: OpenUrlMethod,
pub params: OpenUrlParams,
}Fields§
§method: OpenUrlMethod§params: OpenUrlParamsImplementations§
Source§impl OpenUrl
impl OpenUrl
pub const IDENTIFIER: &'static str = "FedCm.openUrl"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl CommandResult for OpenUrl
impl CommandResult for OpenUrl
type Result = OpenUrlResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl<'de> Deserialize<'de> for OpenUrl
impl<'de> Deserialize<'de> for OpenUrl
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<OpenUrl> for BrowserProtocolCommands
impl From<OpenUrl> for BrowserProtocolCommands
Source§impl From<OpenUrl> for FedCmCommands
impl From<OpenUrl> for FedCmCommands
Source§impl TryFrom<BrowserProtocolCommands> for OpenUrl
impl TryFrom<BrowserProtocolCommands> for OpenUrl
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, <OpenUrl as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <OpenUrl as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<FedCmCommands> for OpenUrl
impl TryFrom<FedCmCommands> for OpenUrl
Source§type Error = FedCmCommands
type Error = FedCmCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: FedCmCommands,
) -> Result<Self, <OpenUrl as TryFrom<FedCmCommands>>::Error>
fn try_from( e: FedCmCommands, ) -> Result<Self, <OpenUrl as TryFrom<FedCmCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for OpenUrl
Auto Trait Implementations§
impl Freeze for OpenUrl
impl RefUnwindSafe for OpenUrl
impl Send for OpenUrl
impl Sync for OpenUrl
impl Unpin for OpenUrl
impl UnsafeUnpin for OpenUrl
impl UnwindSafe for OpenUrl
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