Enum saml_rs::sp::NameIdFormat
source · [−]pub enum NameIdFormat {
EmailAddress,
Entity,
Kerberos,
Persistent,
Transient,
Unspecified,
WindowsDomainQualifiedName,
X509SubjectName,
}
Expand description
Different types of name-id formats from the spec
Variants
EmailAddress
Email Address
Entity
TODO: entity?
Kerberos
Kerberos, the worst-eros
Persistent
Should stay the same
Transient
Don’t keep this, it’ll change
Unspecified
🤷♂️🤷♀️ who even knows
WindowsDomainQualifiedName
Windows format
X509SubjectName
X509 format
Trait Implementations
sourceimpl Clone for NameIdFormat
impl Clone for NameIdFormat
sourcefn clone(&self) -> NameIdFormat
fn clone(&self) -> NameIdFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for NameIdFormat
impl Debug for NameIdFormat
sourceimpl Default for NameIdFormat
impl Default for NameIdFormat
sourcefn default() -> NameIdFormat
fn default() -> NameIdFormat
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for NameIdFormat
impl<'de> Deserialize<'de> for NameIdFormat
sourcefn 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
sourceimpl FromStr for NameIdFormat
impl FromStr for NameIdFormat
sourceimpl Serialize for NameIdFormat
impl Serialize for NameIdFormat
sourceimpl ToString for NameIdFormat
impl ToString for NameIdFormat
impl Copy for NameIdFormat
Auto Trait Implementations
impl RefUnwindSafe for NameIdFormat
impl Send for NameIdFormat
impl Sync for NameIdFormat
impl Unpin for NameIdFormat
impl UnwindSafe for NameIdFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more