#[non_exhaustive]pub enum IdentityProviderId {
UserId(String),
GroupId(String),
}Available on crate feature
identity-mapping-store-service only.Expand description
Union field identity_provider_id. Identity Provider id can be a user or a group.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
UserId(String)
User identifier. For Google Workspace user account, user_id should be the google workspace user email. For non-google identity provider, user_id is the mapped user identifier configured during the workforcepool config.
GroupId(String)
Group identifier. For Google Workspace user account, group_id should be the google workspace group email. For non-google identity provider, group_id is the mapped group identifier configured during the workforcepool config.
Trait Implementations§
Source§impl Clone for IdentityProviderId
impl Clone for IdentityProviderId
Source§fn clone(&self) -> IdentityProviderId
fn clone(&self) -> IdentityProviderId
Returns a duplicate 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 IdentityProviderId
impl Debug for IdentityProviderId
Source§impl PartialEq for IdentityProviderId
impl PartialEq for IdentityProviderId
impl StructuralPartialEq for IdentityProviderId
Auto Trait Implementations§
impl Freeze for IdentityProviderId
impl RefUnwindSafe for IdentityProviderId
impl Send for IdentityProviderId
impl Sync for IdentityProviderId
impl Unpin for IdentityProviderId
impl UnwindSafe for IdentityProviderId
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