Struct chromiumoxide::cdp::browser_protocol::browser::ResetPermissionsParams
source · pub struct ResetPermissionsParams {
pub browser_context_id: Option<BrowserContextId>,
}
Expand description
Reset all permission management for all origins. resetPermissions
Fields§
§browser_context_id: Option<BrowserContextId>
BrowserContext to reset permissions. When omitted, default browser context is used.
Implementations§
source§impl ResetPermissionsParams
impl ResetPermissionsParams
pub fn builder() -> ResetPermissionsParamsBuilder
source§impl ResetPermissionsParams
impl ResetPermissionsParams
pub const IDENTIFIER: &'static str = "Browser.resetPermissions"
Trait Implementations§
source§impl Clone for ResetPermissionsParams
impl Clone for ResetPermissionsParams
source§fn clone(&self) -> ResetPermissionsParams
fn clone(&self) -> ResetPermissionsParams
Returns a copy 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 Command for ResetPermissionsParams
impl Command for ResetPermissionsParams
§type Response = ResetPermissionsReturns
type Response = ResetPermissionsReturns
The type of the response this request triggers on the chromium server
source§impl Debug for ResetPermissionsParams
impl Debug for ResetPermissionsParams
source§impl Default for ResetPermissionsParams
impl Default for ResetPermissionsParams
source§fn default() -> ResetPermissionsParams
fn default() -> ResetPermissionsParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for ResetPermissionsParams
impl<'de> Deserialize<'de> for ResetPermissionsParams
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<ResetPermissionsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ResetPermissionsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Method for ResetPermissionsParams
impl Method for ResetPermissionsParams
source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNode
source§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOM
source§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNode
source§impl MethodType for ResetPermissionsParams
impl MethodType for ResetPermissionsParams
source§impl PartialEq for ResetPermissionsParams
impl PartialEq for ResetPermissionsParams
source§fn eq(&self, other: &ResetPermissionsParams) -> bool
fn eq(&self, other: &ResetPermissionsParams) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for ResetPermissionsParams
impl Serialize for ResetPermissionsParams
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for ResetPermissionsParams
Auto Trait Implementations§
impl Freeze for ResetPermissionsParams
impl RefUnwindSafe for ResetPermissionsParams
impl Send for ResetPermissionsParams
impl Sync for ResetPermissionsParams
impl Unpin for ResetPermissionsParams
impl UnwindSafe for ResetPermissionsParams
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