pub struct GetOsAppStateBuilder { /* private fields */ }Expand description
Builder for GetOsAppState.
Implementations§
Source§impl GetOsAppStateBuilder
impl GetOsAppStateBuilder
Sourcepub fn manifest_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn manifest_id<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
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 build(&self) -> Result<GetOsAppState, GetOsAppStateBuilderError>
pub fn build(&self) -> Result<GetOsAppState, GetOsAppStateBuilderError>
Trait Implementations§
Source§impl Clone for GetOsAppStateBuilder
impl Clone for GetOsAppStateBuilder
Source§fn clone(&self) -> GetOsAppStateBuilder
fn clone(&self) -> GetOsAppStateBuilder
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 moreAuto Trait Implementations§
impl Freeze for GetOsAppStateBuilder
impl RefUnwindSafe for GetOsAppStateBuilder
impl Send for GetOsAppStateBuilder
impl Sync for GetOsAppStateBuilder
impl Unpin for GetOsAppStateBuilder
impl UnsafeUnpin for GetOsAppStateBuilder
impl UnwindSafe for GetOsAppStateBuilder
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