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. DeviceBoundSessionUrlRule
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.
Implementations§
Source§impl DeviceBoundSessionUrlRule
impl DeviceBoundSessionUrlRule
pub fn new( rule_type: impl Into<DeviceBoundSessionUrlRuleRuleType>, host_pattern: impl Into<String>, path_prefix: impl Into<String>, ) -> DeviceBoundSessionUrlRule
Source§impl DeviceBoundSessionUrlRule
impl DeviceBoundSessionUrlRule
pub const IDENTIFIER: &'static str = "Network.DeviceBoundSessionUrlRule"
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<DeviceBoundSessionUrlRule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<DeviceBoundSessionUrlRule, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for DeviceBoundSessionUrlRule
impl Serialize for DeviceBoundSessionUrlRule
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 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 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