pub struct CreateUserContext {
pub method: CreateUserContextMethod,
pub params: CreateUserContextParams,
}Fields§
§method: CreateUserContextMethod§params: CreateUserContextParamsImplementations§
Source§impl CreateUserContext
impl CreateUserContext
pub fn builder() -> CreateUserContextBuilder
Source§impl CreateUserContext
impl CreateUserContext
pub const IDENTIFIER: &'static str = "browser.createUserContext"
pub const DOMAIN_DIRECTION: &'static str = "remote"
pub fn identifier(&self) -> &'static str
Trait Implementations§
Source§impl Clone for CreateUserContext
impl Clone for CreateUserContext
Source§fn clone(&self) -> CreateUserContext
fn clone(&self) -> CreateUserContext
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 CreateUserContext
impl CommandResult for CreateUserContext
type Result = UserContextInfo
fn result_from_value(result: Value) -> Result<Self::Result>
Source§impl Debug for CreateUserContext
impl Debug for CreateUserContext
Source§impl<'de> Deserialize<'de> for CreateUserContext
impl<'de> Deserialize<'de> for CreateUserContext
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<CreateUserContext> for BrowserCommand
impl From<CreateUserContext> for BrowserCommand
Source§fn from(v: CreateUserContext) -> Self
fn from(v: CreateUserContext) -> Self
Converts to this type from the input type.
Source§impl From<CreateUserContext> for Command
impl From<CreateUserContext> for Command
Source§fn from(v: CreateUserContext) -> Self
fn from(v: CreateUserContext) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CreateUserContext
impl PartialEq for CreateUserContext
Source§impl Serialize for CreateUserContext
impl Serialize for CreateUserContext
Source§impl TryFrom<BrowserCommand> for CreateUserContext
impl TryFrom<BrowserCommand> for CreateUserContext
Source§type Error = BrowserCommand
type Error = BrowserCommand
The type returned in the event of a conversion error.
Source§fn try_from(
e: BrowserCommand,
) -> Result<Self, <CreateUserContext as TryFrom<BrowserCommand>>::Error>
fn try_from( e: BrowserCommand, ) -> Result<Self, <CreateUserContext as TryFrom<BrowserCommand>>::Error>
Performs the conversion.
Source§impl TryFrom<Command> for CreateUserContext
impl TryFrom<Command> for CreateUserContext
impl StructuralPartialEq for CreateUserContext
Auto Trait Implementations§
impl Freeze for CreateUserContext
impl RefUnwindSafe for CreateUserContext
impl Send for CreateUserContext
impl Sync for CreateUserContext
impl Unpin for CreateUserContext
impl UnsafeUnpin for CreateUserContext
impl UnwindSafe for CreateUserContext
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more