pub struct LaunchParams {
pub manifest_id: String,
pub url: Option<String>,
}Expand description
Launches the installed web app, or an url in the same web app instead of the default start url if it is provided. Returns a page Target.TargetID which can be used to attach to via Target.attachToTarget or similar APIs. launch
Fields§
§manifest_id: String§url: Option<String>Implementations§
Source§impl LaunchParams
impl LaunchParams
pub fn builder() -> LaunchParamsBuilder
Source§impl LaunchParams
impl LaunchParams
pub const IDENTIFIER: &'static str = "PWA.launch"
Trait Implementations§
Source§impl Clone for LaunchParams
impl Clone for LaunchParams
Source§fn clone(&self) -> LaunchParams
fn clone(&self) -> LaunchParams
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 Command for LaunchParams
impl Command for LaunchParams
Source§impl Debug for LaunchParams
impl Debug for LaunchParams
Source§impl<'de> Deserialize<'de> for LaunchParams
impl<'de> Deserialize<'de> for LaunchParams
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 Method for LaunchParams
impl Method for LaunchParams
Source§fn identifier(&self) -> MethodId
fn identifier(&self) -> MethodId
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl MethodType for LaunchParams
impl MethodType for LaunchParams
Source§impl PartialEq for LaunchParams
impl PartialEq for LaunchParams
Source§impl Serialize for LaunchParams
impl Serialize for LaunchParams
impl StructuralPartialEq for LaunchParams
Auto Trait Implementations§
impl Freeze for LaunchParams
impl RefUnwindSafe for LaunchParams
impl Send for LaunchParams
impl Sync for LaunchParams
impl Unpin for LaunchParams
impl UnwindSafe for LaunchParams
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