#[non_exhaustive]pub struct IdentityConfig {
pub user_service_account_mapping: HashMap<String, String>,
/* private fields */
}Expand description
Identity related configuration, including service account based secure multi-tenancy user mappings.
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.user_service_account_mapping: HashMap<String, String>Required. Map of user to service account.
Implementations§
Source§impl IdentityConfig
impl IdentityConfig
pub fn new() -> Self
Sourcepub fn set_user_service_account_mapping<T, K, V>(self, v: T) -> Self
pub fn set_user_service_account_mapping<T, K, V>(self, v: T) -> Self
Sets the value of user_service_account_mapping.
Trait Implementations§
Source§impl Clone for IdentityConfig
impl Clone for IdentityConfig
Source§fn clone(&self) -> IdentityConfig
fn clone(&self) -> IdentityConfig
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 IdentityConfig
impl Debug for IdentityConfig
Source§impl Default for IdentityConfig
impl Default for IdentityConfig
Source§fn default() -> IdentityConfig
fn default() -> IdentityConfig
Returns the “default value” for a type. Read more
Source§impl Message for IdentityConfig
impl Message for IdentityConfig
Source§impl PartialEq for IdentityConfig
impl PartialEq for IdentityConfig
impl StructuralPartialEq for IdentityConfig
Auto Trait Implementations§
impl Freeze for IdentityConfig
impl RefUnwindSafe for IdentityConfig
impl Send for IdentityConfig
impl Sync for IdentityConfig
impl Unpin for IdentityConfig
impl UnwindSafe for IdentityConfig
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