#[non_exhaustive]pub struct MobileDeviceAccessOverrideBuilder { /* private fields */ }
Expand description
A builder for MobileDeviceAccessOverride
.
Implementations§
source§impl MobileDeviceAccessOverrideBuilder
impl MobileDeviceAccessOverrideBuilder
sourcepub fn user_id(self, input: impl Into<String>) -> Self
pub fn user_id(self, input: impl Into<String>) -> Self
The WorkMail user to which the access override applies.
sourcepub fn set_user_id(self, input: Option<String>) -> Self
pub fn set_user_id(self, input: Option<String>) -> Self
The WorkMail user to which the access override applies.
sourcepub fn get_user_id(&self) -> &Option<String>
pub fn get_user_id(&self) -> &Option<String>
The WorkMail user to which the access override applies.
sourcepub fn device_id(self, input: impl Into<String>) -> Self
pub fn device_id(self, input: impl Into<String>) -> Self
The device to which the override applies.
sourcepub fn set_device_id(self, input: Option<String>) -> Self
pub fn set_device_id(self, input: Option<String>) -> Self
The device to which the override applies.
sourcepub fn get_device_id(&self) -> &Option<String>
pub fn get_device_id(&self) -> &Option<String>
The device to which the override applies.
sourcepub fn effect(self, input: MobileDeviceAccessRuleEffect) -> Self
pub fn effect(self, input: MobileDeviceAccessRuleEffect) -> Self
The effect of the override, ALLOW
or DENY
.
sourcepub fn set_effect(self, input: Option<MobileDeviceAccessRuleEffect>) -> Self
pub fn set_effect(self, input: Option<MobileDeviceAccessRuleEffect>) -> Self
The effect of the override, ALLOW
or DENY
.
sourcepub fn get_effect(&self) -> &Option<MobileDeviceAccessRuleEffect>
pub fn get_effect(&self) -> &Option<MobileDeviceAccessRuleEffect>
The effect of the override, ALLOW
or DENY
.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
A description of the override.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
A description of the override.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
A description of the override.
sourcepub fn date_created(self, input: DateTime) -> Self
pub fn date_created(self, input: DateTime) -> Self
The date the override was first created.
sourcepub fn set_date_created(self, input: Option<DateTime>) -> Self
pub fn set_date_created(self, input: Option<DateTime>) -> Self
The date the override was first created.
sourcepub fn get_date_created(&self) -> &Option<DateTime>
pub fn get_date_created(&self) -> &Option<DateTime>
The date the override was first created.
sourcepub fn date_modified(self, input: DateTime) -> Self
pub fn date_modified(self, input: DateTime) -> Self
The date the override was last modified.
sourcepub fn set_date_modified(self, input: Option<DateTime>) -> Self
pub fn set_date_modified(self, input: Option<DateTime>) -> Self
The date the override was last modified.
sourcepub fn get_date_modified(&self) -> &Option<DateTime>
pub fn get_date_modified(&self) -> &Option<DateTime>
The date the override was last modified.
sourcepub fn build(self) -> MobileDeviceAccessOverride
pub fn build(self) -> MobileDeviceAccessOverride
Consumes the builder and constructs a MobileDeviceAccessOverride
.
Trait Implementations§
source§impl Clone for MobileDeviceAccessOverrideBuilder
impl Clone for MobileDeviceAccessOverrideBuilder
source§fn clone(&self) -> MobileDeviceAccessOverrideBuilder
fn clone(&self) -> MobileDeviceAccessOverrideBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for MobileDeviceAccessOverrideBuilder
impl Default for MobileDeviceAccessOverrideBuilder
source§fn default() -> MobileDeviceAccessOverrideBuilder
fn default() -> MobileDeviceAccessOverrideBuilder
source§impl PartialEq for MobileDeviceAccessOverrideBuilder
impl PartialEq for MobileDeviceAccessOverrideBuilder
source§fn eq(&self, other: &MobileDeviceAccessOverrideBuilder) -> bool
fn eq(&self, other: &MobileDeviceAccessOverrideBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for MobileDeviceAccessOverrideBuilder
Auto Trait Implementations§
impl Freeze for MobileDeviceAccessOverrideBuilder
impl RefUnwindSafe for MobileDeviceAccessOverrideBuilder
impl Send for MobileDeviceAccessOverrideBuilder
impl Sync for MobileDeviceAccessOverrideBuilder
impl Unpin for MobileDeviceAccessOverrideBuilder
impl UnwindSafe for MobileDeviceAccessOverrideBuilder
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more