pub struct DeviceBoundSessionInclusionRules {
pub origin: String,
pub include_site: bool,
pub url_rules: Vec<DeviceBoundSessionUrlRule>,
}Expand description
A device bound session’s inclusion rules.
Fields§
§origin: StringSee comments on net::device_bound_sessions::SessionInclusionRules::origin_.
include_site: boolWhether the whole site is included. See comments on
net::device_bound_sessions::SessionInclusionRules::include_site_ for more
details; this boolean is true if that value is populated.
url_rules: Vec<DeviceBoundSessionUrlRule>See comments on net::device_bound_sessions::SessionInclusionRules::url_rules_.
Trait Implementations§
Source§impl Clone for DeviceBoundSessionInclusionRules
impl Clone for DeviceBoundSessionInclusionRules
Source§fn clone(&self) -> DeviceBoundSessionInclusionRules
fn clone(&self) -> DeviceBoundSessionInclusionRules
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<'de> Deserialize<'de> for DeviceBoundSessionInclusionRules
impl<'de> Deserialize<'de> for DeviceBoundSessionInclusionRules
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 PartialEq for DeviceBoundSessionInclusionRules
impl PartialEq for DeviceBoundSessionInclusionRules
Source§fn eq(&self, other: &DeviceBoundSessionInclusionRules) -> bool
fn eq(&self, other: &DeviceBoundSessionInclusionRules) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeviceBoundSessionInclusionRules
Auto Trait Implementations§
impl Freeze for DeviceBoundSessionInclusionRules
impl RefUnwindSafe for DeviceBoundSessionInclusionRules
impl Send for DeviceBoundSessionInclusionRules
impl Sync for DeviceBoundSessionInclusionRules
impl Unpin for DeviceBoundSessionInclusionRules
impl UnsafeUnpin for DeviceBoundSessionInclusionRules
impl UnwindSafe for DeviceBoundSessionInclusionRules
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