#[non_exhaustive]pub struct AuthNMappingAttributes {
pub attribute_key: Option<String>,
pub attribute_value: Option<String>,
pub created_at: Option<DateTime<Utc>>,
pub modified_at: Option<DateTime<Utc>>,
pub saml_assertion_attribute_id: Option<String>,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
Attributes of AuthN Mapping.
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.attribute_key: Option<String>
Key portion of a key/value pair of the attribute sent from the Identity Provider.
attribute_value: Option<String>
Value portion of a key/value pair of the attribute sent from the Identity Provider.
created_at: Option<DateTime<Utc>>
Creation time of the AuthN Mapping.
modified_at: Option<DateTime<Utc>>
Time of last AuthN Mapping modification.
saml_assertion_attribute_id: Option<String>
The ID of the SAML assertion attribute.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl AuthNMappingAttributes
impl AuthNMappingAttributes
pub fn new() -> AuthNMappingAttributes
pub fn attribute_key(self, value: String) -> Self
pub fn attribute_value(self, value: String) -> Self
pub fn created_at(self, value: DateTime<Utc>) -> Self
pub fn modified_at(self, value: DateTime<Utc>) -> Self
pub fn saml_assertion_attribute_id(self, value: String) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for AuthNMappingAttributes
impl Clone for AuthNMappingAttributes
Source§fn clone(&self) -> AuthNMappingAttributes
fn clone(&self) -> AuthNMappingAttributes
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 AuthNMappingAttributes
impl Debug for AuthNMappingAttributes
Source§impl Default for AuthNMappingAttributes
impl Default for AuthNMappingAttributes
Source§impl<'de> Deserialize<'de> for AuthNMappingAttributes
impl<'de> Deserialize<'de> for AuthNMappingAttributes
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 AuthNMappingAttributes
impl PartialEq for AuthNMappingAttributes
Source§impl Serialize for AuthNMappingAttributes
impl Serialize for AuthNMappingAttributes
impl StructuralPartialEq for AuthNMappingAttributes
Auto Trait Implementations§
impl Freeze for AuthNMappingAttributes
impl RefUnwindSafe for AuthNMappingAttributes
impl Send for AuthNMappingAttributes
impl Sync for AuthNMappingAttributes
impl Unpin for AuthNMappingAttributes
impl UnwindSafe for AuthNMappingAttributes
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