pub struct ChangeAppUserSettings {
pub method: ChangeAppUserSettingsMethod,
pub params: ChangeAppUserSettingsParams,
}Expand description
Changes user settings of the web app identified by its manifestId. If the app was not installed, this command returns an error. Unset parameters will be ignored; unrecognized values will cause an error.
Unlike the ones defined in the manifest files of the web apps, these settings are provided by the browser and controlled by the users, they impact the way the browser handling the web apps.
See the comment of each parameter. changeAppUserSettings
Fields§
§method: ChangeAppUserSettingsMethod§params: ChangeAppUserSettingsParamsImplementations§
Source§impl ChangeAppUserSettings
impl ChangeAppUserSettings
pub fn builder() -> ChangeAppUserSettingsBuilder
Source§impl ChangeAppUserSettings
impl ChangeAppUserSettings
pub const IDENTIFIER: &'static str = "PWA.changeAppUserSettings"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ChangeAppUserSettings
impl Clone for ChangeAppUserSettings
Source§fn clone(&self) -> ChangeAppUserSettings
fn clone(&self) -> ChangeAppUserSettings
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 ChangeAppUserSettings
impl CommandResult for ChangeAppUserSettings
type Result = ChangeAppUserSettingsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ChangeAppUserSettings
impl Debug for ChangeAppUserSettings
Source§impl<'de> Deserialize<'de> for ChangeAppUserSettings
impl<'de> Deserialize<'de> for ChangeAppUserSettings
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<ChangeAppUserSettings> for BrowserProtocolCommands
impl From<ChangeAppUserSettings> for BrowserProtocolCommands
Source§fn from(v: ChangeAppUserSettings) -> Self
fn from(v: ChangeAppUserSettings) -> Self
Converts to this type from the input type.
Source§impl From<ChangeAppUserSettings> for Command
impl From<ChangeAppUserSettings> for Command
Source§fn from(v: ChangeAppUserSettings) -> Self
fn from(v: ChangeAppUserSettings) -> Self
Converts to this type from the input type.
Source§impl From<ChangeAppUserSettings> for PwaCommands
impl From<ChangeAppUserSettings> for PwaCommands
Source§fn from(v: ChangeAppUserSettings) -> Self
fn from(v: ChangeAppUserSettings) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ChangeAppUserSettings
impl PartialEq for ChangeAppUserSettings
Source§impl Serialize for ChangeAppUserSettings
impl Serialize for ChangeAppUserSettings
Source§impl TryFrom<BrowserProtocolCommands> for ChangeAppUserSettings
impl TryFrom<BrowserProtocolCommands> for ChangeAppUserSettings
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, <ChangeAppUserSettings as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ChangeAppUserSettings as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ChangeAppUserSettings
impl TryFrom<Command> for ChangeAppUserSettings
Source§impl TryFrom<PwaCommands> for ChangeAppUserSettings
impl TryFrom<PwaCommands> for ChangeAppUserSettings
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, <ChangeAppUserSettings as TryFrom<PwaCommands>>::Error>
fn try_from( e: PwaCommands, ) -> Result<Self, <ChangeAppUserSettings as TryFrom<PwaCommands>>::Error>
Performs the conversion.
impl StructuralPartialEq for ChangeAppUserSettings
Auto Trait Implementations§
impl Freeze for ChangeAppUserSettings
impl RefUnwindSafe for ChangeAppUserSettings
impl Send for ChangeAppUserSettings
impl Sync for ChangeAppUserSettings
impl Unpin for ChangeAppUserSettings
impl UnsafeUnpin for ChangeAppUserSettings
impl UnwindSafe for ChangeAppUserSettings
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