pub struct OpenCurrentPageInApp {
pub method: OpenCurrentPageInAppMethod,
pub params: OpenCurrentPageInAppParams,
}Expand description
Opens the current page in its web app identified by the manifest id, needs to be called on a page target. This function returns immediately without waiting for the app to finish loading. openCurrentPageInApp
Fields§
§method: OpenCurrentPageInAppMethod§params: OpenCurrentPageInAppParamsImplementations§
Source§impl OpenCurrentPageInApp
impl OpenCurrentPageInApp
pub fn builder() -> OpenCurrentPageInAppBuilder
Source§impl OpenCurrentPageInApp
impl OpenCurrentPageInApp
pub const IDENTIFIER: &'static str = "PWA.openCurrentPageInApp"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for OpenCurrentPageInApp
impl Clone for OpenCurrentPageInApp
Source§fn clone(&self) -> OpenCurrentPageInApp
fn clone(&self) -> OpenCurrentPageInApp
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 OpenCurrentPageInApp
impl CommandResult for OpenCurrentPageInApp
type Result = OpenCurrentPageInAppResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for OpenCurrentPageInApp
impl Debug for OpenCurrentPageInApp
Source§impl<'de> Deserialize<'de> for OpenCurrentPageInApp
impl<'de> Deserialize<'de> for OpenCurrentPageInApp
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<OpenCurrentPageInApp> for BrowserProtocolCommands
impl From<OpenCurrentPageInApp> for BrowserProtocolCommands
Source§fn from(v: OpenCurrentPageInApp) -> Self
fn from(v: OpenCurrentPageInApp) -> Self
Converts to this type from the input type.
Source§impl From<OpenCurrentPageInApp> for Command
impl From<OpenCurrentPageInApp> for Command
Source§fn from(v: OpenCurrentPageInApp) -> Self
fn from(v: OpenCurrentPageInApp) -> Self
Converts to this type from the input type.
Source§impl From<OpenCurrentPageInApp> for PwaCommands
impl From<OpenCurrentPageInApp> for PwaCommands
Source§fn from(v: OpenCurrentPageInApp) -> Self
fn from(v: OpenCurrentPageInApp) -> Self
Converts to this type from the input type.
Source§impl PartialEq for OpenCurrentPageInApp
impl PartialEq for OpenCurrentPageInApp
Source§impl Serialize for OpenCurrentPageInApp
impl Serialize for OpenCurrentPageInApp
Source§impl TryFrom<BrowserProtocolCommands> for OpenCurrentPageInApp
impl TryFrom<BrowserProtocolCommands> for OpenCurrentPageInApp
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, <OpenCurrentPageInApp as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <OpenCurrentPageInApp as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for OpenCurrentPageInApp
impl TryFrom<Command> for OpenCurrentPageInApp
Source§impl TryFrom<PwaCommands> for OpenCurrentPageInApp
impl TryFrom<PwaCommands> for OpenCurrentPageInApp
Source§type Error = PwaCommands
type Error = PwaCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: PwaCommands,
) -> Result<Self, <OpenCurrentPageInApp as TryFrom<PwaCommands>>::Error>
fn try_from( e: PwaCommands, ) -> Result<Self, <OpenCurrentPageInApp as TryFrom<PwaCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for OpenCurrentPageInApp
Auto Trait Implementations§
impl Freeze for OpenCurrentPageInApp
impl RefUnwindSafe for OpenCurrentPageInApp
impl Send for OpenCurrentPageInApp
impl Sync for OpenCurrentPageInApp
impl Unpin for OpenCurrentPageInApp
impl UnsafeUnpin for OpenCurrentPageInApp
impl UnwindSafe for OpenCurrentPageInApp
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