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§
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 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 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 UnsafeUnpin 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