#[non_exhaustive]pub struct CreateSegmentInput {
pub name: Option<String>,
pub pattern: Option<String>,
pub description: Option<String>,
pub tags: Option<HashMap<String, String>>,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.name: Option<String>A name for the segment.
pattern: Option<String>The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.
description: Option<String>An optional description for this segment.
Assigns one or more tags (key-value pairs) to the segment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
Implementations§
source§impl CreateSegmentInput
impl CreateSegmentInput
sourcepub fn pattern(&self) -> Option<&str>
pub fn pattern(&self) -> Option<&str>
The pattern to use for the segment. For more information about pattern syntax, see Segment rule pattern syntax.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
An optional description for this segment.
Assigns one or more tags (key-value pairs) to the segment.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
Tags don't have any semantic meaning to Amazon Web Services and are interpreted strictly as strings of characters.
You can associate as many as 50 tags with a segment.
For more information, see Tagging Amazon Web Services resources.
source§impl CreateSegmentInput
impl CreateSegmentInput
sourcepub fn builder() -> CreateSegmentInputBuilder
pub fn builder() -> CreateSegmentInputBuilder
Creates a new builder-style object to manufacture CreateSegmentInput.
Trait Implementations§
source§impl Clone for CreateSegmentInput
impl Clone for CreateSegmentInput
source§fn clone(&self) -> CreateSegmentInput
fn clone(&self) -> CreateSegmentInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateSegmentInput
impl Debug for CreateSegmentInput
source§impl PartialEq for CreateSegmentInput
impl PartialEq for CreateSegmentInput
source§fn eq(&self, other: &CreateSegmentInput) -> bool
fn eq(&self, other: &CreateSegmentInput) -> bool
self and other values to be equal, and is used
by ==.