pub struct DeviceBoundSessionUrlRuleBuilder { /* private fields */ }Expand description
Builder for DeviceBoundSessionUrlRule.
Implementations§
Source§impl DeviceBoundSessionUrlRuleBuilder
impl DeviceBoundSessionUrlRuleBuilder
Sourcepub fn rule_type<VALUE: Into<DeviceBoundSessionUrlRuleRuleType>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn rule_type<VALUE: Into<DeviceBoundSessionUrlRuleRuleType>>( &mut self, value: VALUE, ) -> &mut Self
See comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::rule_type.
Sourcepub fn host_pattern<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn host_pattern<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
See comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::host_pattern.
Sourcepub fn path_prefix<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
pub fn path_prefix<VALUE: Into<String>>(&mut self, value: VALUE) -> &mut Self
See comments on net::device_bound_sessions::SessionInclusionRules::UrlRule::path_prefix.
Sourcepub fn build(
&self,
) -> Result<DeviceBoundSessionUrlRule, DeviceBoundSessionUrlRuleBuilderError>
pub fn build( &self, ) -> Result<DeviceBoundSessionUrlRule, DeviceBoundSessionUrlRuleBuilderError>
Trait Implementations§
Source§impl Clone for DeviceBoundSessionUrlRuleBuilder
impl Clone for DeviceBoundSessionUrlRuleBuilder
Source§fn clone(&self) -> DeviceBoundSessionUrlRuleBuilder
fn clone(&self) -> DeviceBoundSessionUrlRuleBuilder
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 moreAuto Trait Implementations§
impl Freeze for DeviceBoundSessionUrlRuleBuilder
impl RefUnwindSafe for DeviceBoundSessionUrlRuleBuilder
impl Send for DeviceBoundSessionUrlRuleBuilder
impl Sync for DeviceBoundSessionUrlRuleBuilder
impl Unpin for DeviceBoundSessionUrlRuleBuilder
impl UnsafeUnpin for DeviceBoundSessionUrlRuleBuilder
impl UnwindSafe for DeviceBoundSessionUrlRuleBuilder
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