Struct aws_sdk_grafana::types::AssertionAttributes
source · #[non_exhaustive]pub struct AssertionAttributes {
pub name: Option<String>,
pub login: Option<String>,
pub email: Option<String>,
pub groups: Option<String>,
pub role: Option<String>,
pub org: Option<String>,
}
Expand description
A structure that defines which attributes in the IdP assertion are to be used to define information about the users authenticated by the IdP to use the workspace.
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>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
login: Option<String>
The name of the attribute within the SAML assertion to use as the login names for SAML users.
email: Option<String>
The name of the attribute within the SAML assertion to use as the email names for SAML users.
groups: Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
role: Option<String>
The name of the attribute within the SAML assertion to use as the user roles.
org: Option<String>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for the users' organizations.
Implementations§
source§impl AssertionAttributes
impl AssertionAttributes
sourcepub fn name(&self) -> Option<&str>
pub fn name(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for SAML users.
sourcepub fn login(&self) -> Option<&str>
pub fn login(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the login names for SAML users.
sourcepub fn email(&self) -> Option<&str>
pub fn email(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the email names for SAML users.
sourcepub fn groups(&self) -> Option<&str>
pub fn groups(&self) -> Option<&str>
The name of the attribute within the SAML assertion to use as the user full "friendly" names for user groups.
source§impl AssertionAttributes
impl AssertionAttributes
sourcepub fn builder() -> AssertionAttributesBuilder
pub fn builder() -> AssertionAttributesBuilder
Creates a new builder-style object to manufacture AssertionAttributes
.
Trait Implementations§
source§impl Clone for AssertionAttributes
impl Clone for AssertionAttributes
source§fn clone(&self) -> AssertionAttributes
fn clone(&self) -> AssertionAttributes
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for AssertionAttributes
impl Debug for AssertionAttributes
source§impl PartialEq for AssertionAttributes
impl PartialEq for AssertionAttributes
source§fn eq(&self, other: &AssertionAttributes) -> bool
fn eq(&self, other: &AssertionAttributes) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AssertionAttributes
Auto Trait Implementations§
impl Freeze for AssertionAttributes
impl RefUnwindSafe for AssertionAttributes
impl Send for AssertionAttributes
impl Sync for AssertionAttributes
impl Unpin for AssertionAttributes
impl UnwindSafe for AssertionAttributes
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