pub struct ChangeAppUserSettingsParams<'a> { /* private fields */ }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.
Implementations§
Source§impl<'a> ChangeAppUserSettingsParams<'a>
impl<'a> ChangeAppUserSettingsParams<'a>
pub fn builder( manifestId: impl Into<Cow<'a, str>>, ) -> ChangeAppUserSettingsParamsBuilder<'a>
pub fn manifestId(&self) -> &str
pub fn linkCapturing(&self) -> Option<bool>
pub fn displayMode(&self) -> Option<&DisplayMode>
Trait Implementations§
Source§impl<'a> CdpCommand<'a> for ChangeAppUserSettingsParams<'a>
impl<'a> CdpCommand<'a> for ChangeAppUserSettingsParams<'a>
Source§impl<'a> Clone for ChangeAppUserSettingsParams<'a>
impl<'a> Clone for ChangeAppUserSettingsParams<'a>
Source§fn clone(&self) -> ChangeAppUserSettingsParams<'a>
fn clone(&self) -> ChangeAppUserSettingsParams<'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 ChangeAppUserSettingsParams<'a>
impl<'a> Debug for ChangeAppUserSettingsParams<'a>
Source§impl<'a> Default for ChangeAppUserSettingsParams<'a>
impl<'a> Default for ChangeAppUserSettingsParams<'a>
Source§fn default() -> ChangeAppUserSettingsParams<'a>
fn default() -> ChangeAppUserSettingsParams<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for ChangeAppUserSettingsParams<'a>
impl<'de, 'a> Deserialize<'de> for ChangeAppUserSettingsParams<'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 ChangeAppUserSettingsParams<'a>
impl<'a> RefUnwindSafe for ChangeAppUserSettingsParams<'a>
impl<'a> Send for ChangeAppUserSettingsParams<'a>
impl<'a> Sync for ChangeAppUserSettingsParams<'a>
impl<'a> Unpin for ChangeAppUserSettingsParams<'a>
impl<'a> UnsafeUnpin for ChangeAppUserSettingsParams<'a>
impl<'a> UnwindSafe for ChangeAppUserSettingsParams<'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