pub struct AuthMethodRoleAssociation {
pub allowed_ops: Option<Vec<String>>,
pub assoc_id: Option<String>,
pub auth_method_sub_claims: Option<HashMap<String, Vec<String>>>,
pub is_sub_claims_case_sensitive: Option<bool>,
pub is_subclaims_with_operator: Option<bool>,
pub role_id: Option<i64>,
pub role_name: Option<String>,
pub rules: Option<Box<Rules>>,
}Expand description
AuthMethodRoleAssociation : AuthMethodRoleAssociation includes details of an association between an auth method and a role.
Fields§
§allowed_ops: Option<Vec<String>>§assoc_id: Option<String>§auth_method_sub_claims: Option<HashMap<String, Vec<String>>>§is_sub_claims_case_sensitive: Option<bool>§is_subclaims_with_operator: Option<bool>§role_id: Option<i64>§role_name: Option<String>§rules: Option<Box<Rules>>Implementations§
Source§impl AuthMethodRoleAssociation
impl AuthMethodRoleAssociation
Sourcepub fn new() -> AuthMethodRoleAssociation
pub fn new() -> AuthMethodRoleAssociation
AuthMethodRoleAssociation includes details of an association between an auth method and a role.
Trait Implementations§
Source§impl Clone for AuthMethodRoleAssociation
impl Clone for AuthMethodRoleAssociation
Source§fn clone(&self) -> AuthMethodRoleAssociation
fn clone(&self) -> AuthMethodRoleAssociation
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AuthMethodRoleAssociation
impl Debug for AuthMethodRoleAssociation
Source§impl Default for AuthMethodRoleAssociation
impl Default for AuthMethodRoleAssociation
Source§fn default() -> AuthMethodRoleAssociation
fn default() -> AuthMethodRoleAssociation
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthMethodRoleAssociation
impl<'de> Deserialize<'de> for AuthMethodRoleAssociation
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AuthMethodRoleAssociation
impl PartialEq for AuthMethodRoleAssociation
Source§fn eq(&self, other: &AuthMethodRoleAssociation) -> bool
fn eq(&self, other: &AuthMethodRoleAssociation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuthMethodRoleAssociation
Auto Trait Implementations§
impl Freeze for AuthMethodRoleAssociation
impl RefUnwindSafe for AuthMethodRoleAssociation
impl Send for AuthMethodRoleAssociation
impl Sync for AuthMethodRoleAssociation
impl Unpin for AuthMethodRoleAssociation
impl UnsafeUnpin for AuthMethodRoleAssociation
impl UnwindSafe for AuthMethodRoleAssociation
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