pub struct SetPermission {
pub method: SetPermissionMethod,
pub params: SetPermissionParams,
}Expand description
Set permission settings for given embedding and embedded origins. setPermission
Fields§
§method: SetPermissionMethod§params: SetPermissionParamsImplementations§
Source§impl SetPermission
impl SetPermission
pub fn builder() -> SetPermissionBuilder
Source§impl SetPermission
impl SetPermission
pub const IDENTIFIER: &'static str = "Browser.setPermission"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for SetPermission
impl Clone for SetPermission
Source§fn clone(&self) -> SetPermission
fn clone(&self) -> SetPermission
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 SetPermission
impl CommandResult for SetPermission
type Result = SetPermissionResult
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for SetPermission
impl Debug for SetPermission
Source§impl<'de> Deserialize<'de> for SetPermission
impl<'de> Deserialize<'de> for SetPermission
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<SetPermission> for BrowserCommands
impl From<SetPermission> for BrowserCommands
Source§fn from(v: SetPermission) -> Self
fn from(v: SetPermission) -> Self
Converts to this type from the input type.
Source§impl From<SetPermission> for BrowserProtocolCommands
impl From<SetPermission> for BrowserProtocolCommands
Source§fn from(v: SetPermission) -> Self
fn from(v: SetPermission) -> Self
Converts to this type from the input type.
Source§impl From<SetPermission> for Command
impl From<SetPermission> for Command
Source§fn from(v: SetPermission) -> Self
fn from(v: SetPermission) -> Self
Converts to this type from the input type.
Source§impl PartialEq for SetPermission
impl PartialEq for SetPermission
Source§impl Serialize for SetPermission
impl Serialize for SetPermission
Source§impl TryFrom<BrowserCommands> for SetPermission
impl TryFrom<BrowserCommands> for SetPermission
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, <SetPermission as TryFrom<BrowserCommands>>::Error>
fn try_from( e: BrowserCommands, ) -> Result<Self, <SetPermission as TryFrom<BrowserCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<BrowserProtocolCommands> for SetPermission
impl TryFrom<BrowserProtocolCommands> for SetPermission
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, <SetPermission as TryFrom<BrowserProtocolCommands>>::Error>
fn try_from( e: BrowserProtocolCommands, ) -> Result<Self, <SetPermission as TryFrom<BrowserProtocolCommands>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for SetPermission
impl TryFrom<Command> for SetPermission
impl StructuralPartialEq for SetPermission
Auto Trait Implementations§
impl Freeze for SetPermission
impl RefUnwindSafe for SetPermission
impl Send for SetPermission
impl Sync for SetPermission
impl Unpin for SetPermission
impl UnsafeUnpin for SetPermission
impl UnwindSafe for SetPermission
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