pub struct ChromeEnableParams {
pub mode: Option<String>,
}Expand description
Params for chrome/enable. Optionally sets the permission mode.
Fields§
§mode: Option<String>observe | assist | control.
Trait Implementations§
Source§impl Clone for ChromeEnableParams
impl Clone for ChromeEnableParams
Source§fn clone(&self) -> ChromeEnableParams
fn clone(&self) -> ChromeEnableParams
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 Debug for ChromeEnableParams
impl Debug for ChromeEnableParams
Source§impl Default for ChromeEnableParams
impl Default for ChromeEnableParams
Source§fn default() -> ChromeEnableParams
fn default() -> ChromeEnableParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChromeEnableParams
impl<'de> Deserialize<'de> for ChromeEnableParams
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 Freeze for ChromeEnableParams
impl RefUnwindSafe for ChromeEnableParams
impl Send for ChromeEnableParams
impl Sync for ChromeEnableParams
impl Unpin for ChromeEnableParams
impl UnsafeUnpin for ChromeEnableParams
impl UnwindSafe for ChromeEnableParams
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