pub struct CreateMobileDeviceAccessRuleRequest {Show 13 fields
pub client_token: Option<String>,
pub description: Option<String>,
pub device_models: Option<Vec<String>>,
pub device_operating_systems: Option<Vec<String>>,
pub device_types: Option<Vec<String>>,
pub device_user_agents: Option<Vec<String>>,
pub effect: String,
pub name: String,
pub not_device_models: Option<Vec<String>>,
pub not_device_operating_systems: Option<Vec<String>>,
pub not_device_types: Option<Vec<String>>,
pub not_device_user_agents: Option<Vec<String>>,
pub organization_id: String,
}
Fields
client_token: Option<String>
The idempotency token for the client request.
description: Option<String>
The rule description.
device_models: Option<Vec<String>>
Device models that the rule will match.
device_operating_systems: Option<Vec<String>>
Device operating systems that the rule will match.
device_types: Option<Vec<String>>
Device types that the rule will match.
device_user_agents: Option<Vec<String>>
Device user agents that the rule will match.
effect: String
The effect of the rule when it matches. Allowed values are ALLOW
or DENY
.
name: String
The rule name.
not_device_models: Option<Vec<String>>
Device models that the rule will not match. All other device models will match.
not_device_operating_systems: Option<Vec<String>>
Device operating systems that the rule will not match. All other device operating systems will match.
not_device_types: Option<Vec<String>>
Device types that the rule will not match. All other device types will match.
not_device_user_agents: Option<Vec<String>>
Device user agents that the rule will not match. All other device user agents will match.
organization_id: String
The Amazon WorkMail organization under which the rule will be created.
Trait Implementations
sourceimpl Clone for CreateMobileDeviceAccessRuleRequest
impl Clone for CreateMobileDeviceAccessRuleRequest
sourcefn clone(&self) -> CreateMobileDeviceAccessRuleRequest
fn clone(&self) -> CreateMobileDeviceAccessRuleRequest
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Default for CreateMobileDeviceAccessRuleRequest
impl Default for CreateMobileDeviceAccessRuleRequest
sourcefn default() -> CreateMobileDeviceAccessRuleRequest
fn default() -> CreateMobileDeviceAccessRuleRequest
Returns the “default value” for a type. Read more
sourceimpl PartialEq<CreateMobileDeviceAccessRuleRequest> for CreateMobileDeviceAccessRuleRequest
impl PartialEq<CreateMobileDeviceAccessRuleRequest> for CreateMobileDeviceAccessRuleRequest
sourcefn eq(&self, other: &CreateMobileDeviceAccessRuleRequest) -> bool
fn eq(&self, other: &CreateMobileDeviceAccessRuleRequest) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &CreateMobileDeviceAccessRuleRequest) -> bool
fn ne(&self, other: &CreateMobileDeviceAccessRuleRequest) -> bool
This method tests for !=
.
impl StructuralPartialEq for CreateMobileDeviceAccessRuleRequest
Auto Trait Implementations
impl RefUnwindSafe for CreateMobileDeviceAccessRuleRequest
impl Send for CreateMobileDeviceAccessRuleRequest
impl Sync for CreateMobileDeviceAccessRuleRequest
impl Unpin for CreateMobileDeviceAccessRuleRequest
impl UnwindSafe for CreateMobileDeviceAccessRuleRequest
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more