pub struct EnableDeviceBoundSessionsParams {
pub enable: bool,
}Expand description
Sets up tracking device bound sessions and fetching of initial set of sessions. enableDeviceBoundSessions
Fields§
§enable: boolWhether to enable or disable events.
Implementations§
Source§impl EnableDeviceBoundSessionsParams
impl EnableDeviceBoundSessionsParams
pub fn new(enable: impl Into<bool>) -> EnableDeviceBoundSessionsParams
Source§impl EnableDeviceBoundSessionsParams
impl EnableDeviceBoundSessionsParams
pub fn builder() -> EnableDeviceBoundSessionsParamsBuilder
Source§impl EnableDeviceBoundSessionsParams
impl EnableDeviceBoundSessionsParams
pub const IDENTIFIER: &'static str = "Network.enableDeviceBoundSessions"
Trait Implementations§
Source§impl Clone for EnableDeviceBoundSessionsParams
impl Clone for EnableDeviceBoundSessionsParams
Source§fn clone(&self) -> EnableDeviceBoundSessionsParams
fn clone(&self) -> EnableDeviceBoundSessionsParams
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 Default for EnableDeviceBoundSessionsParams
impl Default for EnableDeviceBoundSessionsParams
Source§fn default() -> EnableDeviceBoundSessionsParams
fn default() -> EnableDeviceBoundSessionsParams
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for EnableDeviceBoundSessionsParams
impl<'de> Deserialize<'de> for EnableDeviceBoundSessionsParams
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableDeviceBoundSessionsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<EnableDeviceBoundSessionsParams, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Method for EnableDeviceBoundSessionsParams
impl Method for EnableDeviceBoundSessionsParams
Source§fn identifier(&self) -> Cow<'static, str>
fn identifier(&self) -> Cow<'static, str>
The whole string identifier for this method like:
DOM.removeNodeSource§fn domain_name(&self) -> Cow<'static, str>
fn domain_name(&self) -> Cow<'static, str>
The name of the domain this method belongs to:
DOMSource§fn method_name(&self) -> Cow<'static, str>
fn method_name(&self) -> Cow<'static, str>
The standalone identifier of the method inside the domain:
removeNodeSource§impl PartialEq for EnableDeviceBoundSessionsParams
impl PartialEq for EnableDeviceBoundSessionsParams
Source§fn eq(&self, other: &EnableDeviceBoundSessionsParams) -> bool
fn eq(&self, other: &EnableDeviceBoundSessionsParams) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for EnableDeviceBoundSessionsParams
impl Serialize for EnableDeviceBoundSessionsParams
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 EnableDeviceBoundSessionsParams
Auto Trait Implementations§
impl Freeze for EnableDeviceBoundSessionsParams
impl RefUnwindSafe for EnableDeviceBoundSessionsParams
impl Send for EnableDeviceBoundSessionsParams
impl Sync for EnableDeviceBoundSessionsParams
impl Unpin for EnableDeviceBoundSessionsParams
impl UnsafeUnpin for EnableDeviceBoundSessionsParams
impl UnwindSafe for EnableDeviceBoundSessionsParams
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