pub struct DeviceBoundSessionUrlRule {
pub rule_type: DeviceBoundSessionUrlRuleRuleType,
pub host_pattern: String,
pub path_prefix: String,
}Expand description
A device bound session’s inclusion URL rule.
Fields§
§rule_type: DeviceBoundSessionUrlRuleRuleTypeSee comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type.
host_pattern: StringSee comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern.
path_prefix: StringSee comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix.
Trait Implementations§
Source§impl Clone for DeviceBoundSessionUrlRule
impl Clone for DeviceBoundSessionUrlRule
Source§fn clone(&self) -> DeviceBoundSessionUrlRule
fn clone(&self) -> DeviceBoundSessionUrlRule
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 Debug for DeviceBoundSessionUrlRule
impl Debug for DeviceBoundSessionUrlRule
Source§impl<'de> Deserialize<'de> for DeviceBoundSessionUrlRule
impl<'de> Deserialize<'de> for DeviceBoundSessionUrlRule
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
impl StructuralPartialEq for DeviceBoundSessionUrlRule
Auto Trait Implementations§
impl Freeze for DeviceBoundSessionUrlRule
impl RefUnwindSafe for DeviceBoundSessionUrlRule
impl Send for DeviceBoundSessionUrlRule
impl Sync for DeviceBoundSessionUrlRule
impl Unpin for DeviceBoundSessionUrlRule
impl UnsafeUnpin for DeviceBoundSessionUrlRule
impl UnwindSafe for DeviceBoundSessionUrlRule
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