pub struct ResetPermissions {
pub method: ResetPermissionsMethod,
pub params: ResetPermissionsParams,
}Expand description
Reset all permission management for all origins. resetPermissions
Fields§
§method: ResetPermissionsMethod§params: ResetPermissionsParamsImplementations§
Source§impl ResetPermissions
impl ResetPermissions
pub fn builder() -> ResetPermissionsBuilder
Source§impl ResetPermissions
impl ResetPermissions
pub const IDENTIFIER: &'static str = "Browser.resetPermissions"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for ResetPermissions
impl Clone for ResetPermissions
Source§fn clone(&self) -> ResetPermissions
fn clone(&self) -> ResetPermissions
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 ResetPermissions
impl CommandResult for ResetPermissions
type Result = ResetPermissionsResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for ResetPermissions
impl Debug for ResetPermissions
Source§impl<'de> Deserialize<'de> for ResetPermissions
impl<'de> Deserialize<'de> for ResetPermissions
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<ResetPermissions> for BrowserCommands
impl From<ResetPermissions> for BrowserCommands
Source§fn from(v: ResetPermissions) -> Self
fn from(v: ResetPermissions) -> Self
Converts to this type from the input type.
Source§impl From<ResetPermissions> for BrowserProtocolCommands
impl From<ResetPermissions> for BrowserProtocolCommands
Source§fn from(v: ResetPermissions) -> Self
fn from(v: ResetPermissions) -> Self
Converts to this type from the input type.
Source§impl From<ResetPermissions> for Command
impl From<ResetPermissions> for Command
Source§fn from(v: ResetPermissions) -> Self
fn from(v: ResetPermissions) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ResetPermissions
impl PartialEq for ResetPermissions
Source§impl Serialize for ResetPermissions
impl Serialize for ResetPermissions
Source§impl TryFrom<BrowserCommands> for ResetPermissions
impl TryFrom<BrowserCommands> for ResetPermissions
Source§type Error = BrowserCommands
type Error = BrowserCommands
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommands,
) -> Result<Self, <ResetPermissions as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <ResetPermissions as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for ResetPermissions
impl TryFrom<BrowserProtocolCommands> for ResetPermissions
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, <ResetPermissions as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <ResetPermissions as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for ResetPermissions
impl TryFrom<Command> for ResetPermissions
impl StructuralPartialEq for ResetPermissions
Auto Trait Implementations§
impl Freeze for ResetPermissions
impl RefUnwindSafe for ResetPermissions
impl Send for ResetPermissions
impl Sync for ResetPermissions
impl Unpin for ResetPermissions
impl UnsafeUnpin for ResetPermissions
impl UnwindSafe for ResetPermissions
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