#[non_exhaustive]pub struct SAMLAssertionAttribute {
pub attributes: Option<SAMLAssertionAttributeAttributes>,
pub id: String,
pub type_: SAMLAssertionAttributesType,
pub additional_properties: BTreeMap<String, Value>,
/* private fields */
}
Expand description
SAML assertion attribute.
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.attributes: Option<SAMLAssertionAttributeAttributes>
Key/Value pair of attributes used in SAML assertion attributes.
id: String
The ID of the SAML assertion attribute.
type_: SAMLAssertionAttributesType
SAML assertion attributes resource type.
additional_properties: BTreeMap<String, Value>
Implementations§
Source§impl SAMLAssertionAttribute
impl SAMLAssertionAttribute
pub fn new( id: String, type_: SAMLAssertionAttributesType, ) -> SAMLAssertionAttribute
pub fn attributes(self, value: SAMLAssertionAttributeAttributes) -> Self
pub fn additional_properties(self, value: BTreeMap<String, Value>) -> Self
Trait Implementations§
Source§impl Clone for SAMLAssertionAttribute
impl Clone for SAMLAssertionAttribute
Source§fn clone(&self) -> SAMLAssertionAttribute
fn clone(&self) -> SAMLAssertionAttribute
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 SAMLAssertionAttribute
impl Debug for SAMLAssertionAttribute
Source§impl<'de> Deserialize<'de> for SAMLAssertionAttribute
impl<'de> Deserialize<'de> for SAMLAssertionAttribute
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 SAMLAssertionAttribute
impl PartialEq for SAMLAssertionAttribute
Source§impl Serialize for SAMLAssertionAttribute
impl Serialize for SAMLAssertionAttribute
impl StructuralPartialEq for SAMLAssertionAttribute
Auto Trait Implementations§
impl Freeze for SAMLAssertionAttribute
impl RefUnwindSafe for SAMLAssertionAttribute
impl Send for SAMLAssertionAttribute
impl Sync for SAMLAssertionAttribute
impl Unpin for SAMLAssertionAttribute
impl UnwindSafe for SAMLAssertionAttribute
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