Struct aws_sdk_identitystore::types::Group
source · #[non_exhaustive]pub struct Group {
pub group_id: String,
pub display_name: Option<String>,
pub external_ids: Option<Vec<ExternalId>>,
pub description: Option<String>,
pub identity_store_id: String,
}
Expand description
A group object that contains the metadata and attributes for a specified group.
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.group_id: String
The identifier for a group in the identity store.
display_name: Option<String>
The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
external_ids: Option<Vec<ExternalId>>
A list of ExternalId
objects that contains the identifiers issued to this resource by an external identity provider.
description: Option<String>
A string containing a description of the specified group.
identity_store_id: String
The globally unique identifier for the identity store.
Implementations§
source§impl Group
impl Group
sourcepub fn display_name(&self) -> Option<&str>
pub fn display_name(&self) -> Option<&str>
The display name value for the group. The length limit is 1,024 characters. This value can consist of letters, accented characters, symbols, numbers, punctuation, tab, new line, carriage return, space, and nonbreaking space in this attribute. This value is specified at the time the group is created and stored as an attribute of the group object in the identity store.
sourcepub fn external_ids(&self) -> &[ExternalId]
pub fn external_ids(&self) -> &[ExternalId]
A list of ExternalId
objects that contains the identifiers issued to this resource by an external identity provider.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .external_ids.is_none()
.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A string containing a description of the specified group.
sourcepub fn identity_store_id(&self) -> &str
pub fn identity_store_id(&self) -> &str
The globally unique identifier for the identity store.
Trait Implementations§
source§impl PartialEq for Group
impl PartialEq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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