Struct chromiumoxide::cdp::browser_protocol::emulation::CanEmulateReturns
source · [−]pub struct CanEmulateReturns {
pub result: bool,
}Expand description
Tells whether emulation is supported. canEmulate
Fields
result: boolTrue if emulation is supported.
Implementations
sourceimpl CanEmulateReturns
impl CanEmulateReturns
pub fn new(result: impl Into<bool>) -> CanEmulateReturns
sourceimpl CanEmulateReturns
impl CanEmulateReturns
pub fn builder() -> CanEmulateReturnsBuilder
Trait Implementations
sourceimpl Clone for CanEmulateReturns
impl Clone for CanEmulateReturns
sourcefn clone(&self) -> CanEmulateReturns
fn clone(&self) -> CanEmulateReturns
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for CanEmulateReturns
impl Debug for CanEmulateReturns
sourceimpl<'de> Deserialize<'de> for CanEmulateReturns
impl<'de> Deserialize<'de> for CanEmulateReturns
sourcefn deserialize<__D>(
__deserializer: __D
) -> Result<CanEmulateReturns, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<CanEmulateReturns, <__D as Deserializer<'de>>::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl PartialEq<CanEmulateReturns> for CanEmulateReturns
impl PartialEq<CanEmulateReturns> for CanEmulateReturns
sourcefn eq(&self, other: &CanEmulateReturns) -> bool
fn eq(&self, other: &CanEmulateReturns) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &CanEmulateReturns) -> bool
fn ne(&self, other: &CanEmulateReturns) -> bool
This method tests for !=.
sourceimpl Serialize for CanEmulateReturns
impl Serialize for CanEmulateReturns
sourcefn 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 CanEmulateReturns
Auto Trait Implementations
impl RefUnwindSafe for CanEmulateReturns
impl Send for CanEmulateReturns
impl Sync for CanEmulateReturns
impl Unpin for CanEmulateReturns
impl UnwindSafe for CanEmulateReturns
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more