pub struct GetOsAppState {
pub method: GetOsAppStateMethod,
pub params: GetOsAppStateParams,
}Expand description
Returns the following OS state for the given manifest id. getOsAppState
Fields§
§method: GetOsAppStateMethod§params: GetOsAppStateParamsImplementations§
Source§impl GetOsAppState
impl GetOsAppState
pub fn builder() -> GetOsAppStateBuilder
Source§impl GetOsAppState
impl GetOsAppState
pub const IDENTIFIER: &'static str = "PWA.getOsAppState"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for GetOsAppState
impl Clone for GetOsAppState
Source§fn clone(&self) -> GetOsAppState
fn clone(&self) -> GetOsAppState
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 GetOsAppState
impl CommandResult for GetOsAppState
type Result = GetOsAppStateResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for GetOsAppState
impl Debug for GetOsAppState
Source§impl<'de> Deserialize<'de> for GetOsAppState
impl<'de> Deserialize<'de> for GetOsAppState
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<GetOsAppState> for BrowserProtocolCommands
impl From<GetOsAppState> for BrowserProtocolCommands
Source§fn from(v: GetOsAppState) -> Self
fn from(v: GetOsAppState) -> Self
Converts to this type from the input type.
Source§impl From<GetOsAppState> for Command
impl From<GetOsAppState> for Command
Source§fn from(v: GetOsAppState) -> Self
fn from(v: GetOsAppState) -> Self
Converts to this type from the input type.
Source§impl From<GetOsAppState> for PwaCommands
impl From<GetOsAppState> for PwaCommands
Source§fn from(v: GetOsAppState) -> Self
fn from(v: GetOsAppState) -> Self
Converts to this type from the input type.
Source§impl PartialEq for GetOsAppState
impl PartialEq for GetOsAppState
Source§impl Serialize for GetOsAppState
impl Serialize for GetOsAppState
Source§impl TryFrom<BrowserProtocolCommands> for GetOsAppState
impl TryFrom<BrowserProtocolCommands> for GetOsAppState
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, <GetOsAppState as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <GetOsAppState as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for GetOsAppState
impl TryFrom<Command> for GetOsAppState
Source§impl TryFrom<PwaCommands> for GetOsAppState
impl TryFrom<PwaCommands> for GetOsAppState
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, <GetOsAppState as TryFrom<PwaCommands>>::Error>
fn try_from( e: PwaCommands, ) -> Result<Self, <GetOsAppState as TryFrom<PwaCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for GetOsAppState
Auto Trait Implementations§
impl Freeze for GetOsAppState
impl RefUnwindSafe for GetOsAppState
impl Send for GetOsAppState
impl Sync for GetOsAppState
impl Unpin for GetOsAppState
impl UnsafeUnpin for GetOsAppState
impl UnwindSafe for GetOsAppState
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