pub struct GetOsAppStateParams<'a> { /* private fields */ }Expand description
Returns the following OS state for the given manifest id.
Implementations§
Source§impl<'a> GetOsAppStateParams<'a>
impl<'a> GetOsAppStateParams<'a>
Sourcepub fn builder(
manifest_id: impl Into<Cow<'a, str>>,
) -> GetOsAppStateParamsBuilder<'a>
pub fn builder( manifest_id: impl Into<Cow<'a, str>>, ) -> GetOsAppStateParamsBuilder<'a>
Creates a builder for this type with the required parameters:
manifest_id: The id from the webapp’s manifest file, commonly it’s the url of the site installing the webapp. See https://web.dev/learn/pwa/web-app-manifest.
Sourcepub fn manifest_id(&self) -> &str
pub fn manifest_id(&self) -> &str
The id from the webapp’s manifest file, commonly it’s the url of the site installing the webapp. See https://web.dev/learn/pwa/web-app-manifest.
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for GetOsAppStateParams<'a>
impl<'a> CdpCommand<'a> for GetOsAppStateParams<'a>
Source§impl<'a> Clone for GetOsAppStateParams<'a>
impl<'a> Clone for GetOsAppStateParams<'a>
Source§fn clone(&self) -> GetOsAppStateParams<'a>
fn clone(&self) -> GetOsAppStateParams<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for GetOsAppStateParams<'a>
impl<'a> Debug for GetOsAppStateParams<'a>
Source§impl<'a> Default for GetOsAppStateParams<'a>
impl<'a> Default for GetOsAppStateParams<'a>
Source§fn default() -> GetOsAppStateParams<'a>
fn default() -> GetOsAppStateParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for GetOsAppStateParams<'a>
impl<'de, 'a> Deserialize<'de> for GetOsAppStateParams<'a>
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
Auto Trait Implementations§
impl<'a> Freeze for GetOsAppStateParams<'a>
impl<'a> RefUnwindSafe for GetOsAppStateParams<'a>
impl<'a> Send for GetOsAppStateParams<'a>
impl<'a> Sync for GetOsAppStateParams<'a>
impl<'a> Unpin for GetOsAppStateParams<'a>
impl<'a> UnsafeUnpin for GetOsAppStateParams<'a>
impl<'a> UnwindSafe for GetOsAppStateParams<'a>
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