#[non_exhaustive]pub struct CreateIpGroupInput {
pub group_name: Option<String>,
pub group_desc: Option<String>,
pub user_rules: Option<Vec<IpRuleItem>>,
pub tags: Option<Vec<Tag>>,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.group_name: Option<String>
The name of the group.
group_desc: Option<String>
The description of the group.
user_rules: Option<Vec<IpRuleItem>>
The rules to add to the group.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
Implementations§
source§impl CreateIpGroupInput
impl CreateIpGroupInput
sourcepub fn group_name(&self) -> Option<&str>
pub fn group_name(&self) -> Option<&str>
The name of the group.
sourcepub fn group_desc(&self) -> Option<&str>
pub fn group_desc(&self) -> Option<&str>
The description of the group.
sourcepub fn user_rules(&self) -> &[IpRuleItem]
pub fn user_rules(&self) -> &[IpRuleItem]
The rules to add to the group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .user_rules.is_none()
.
The tags. Each WorkSpaces resource can have a maximum of 50 tags.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
source§impl CreateIpGroupInput
impl CreateIpGroupInput
sourcepub fn builder() -> CreateIpGroupInputBuilder
pub fn builder() -> CreateIpGroupInputBuilder
Creates a new builder-style object to manufacture CreateIpGroupInput
.
Trait Implementations§
source§impl Clone for CreateIpGroupInput
impl Clone for CreateIpGroupInput
source§fn clone(&self) -> CreateIpGroupInput
fn clone(&self) -> CreateIpGroupInput
Returns a copy 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 CreateIpGroupInput
impl Debug for CreateIpGroupInput
source§impl PartialEq for CreateIpGroupInput
impl PartialEq for CreateIpGroupInput
source§fn eq(&self, other: &CreateIpGroupInput) -> bool
fn eq(&self, other: &CreateIpGroupInput) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateIpGroupInput
Auto Trait Implementations§
impl RefUnwindSafe for CreateIpGroupInput
impl Send for CreateIpGroupInput
impl Sync for CreateIpGroupInput
impl Unpin for CreateIpGroupInput
impl UnwindSafe for CreateIpGroupInput
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
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>
Creates a shared type from an unshared type.