Enum saml_rs::assertion::BaseIDAbstractType
source · [−]pub enum BaseIDAbstractType {
NameQualifier,
SPNameQualifier,
}
Expand description
Type of saml:NameId
in a statement.
“There can be 0 or more of NameQualifier or SPNameQualifier.”
I must have been reading the spec again.
They look like this:
<saml:NameID SPNameQualifier="http://sp.example.com/demo1/metadata.php" Format="urn:oasis:names:tc:SAML:2.0:nameid-format:transient">_ce3d2948b4cf20146dee0a0b3dd6f69b6cf86f62d7</saml:NameID>
Variants
NameQualifier
SPNameQualifier
This’ll be the one you normally use - TODO I think this comes from the metadata itself
Trait Implementations
sourceimpl Clone for BaseIDAbstractType
impl Clone for BaseIDAbstractType
sourcefn clone(&self) -> BaseIDAbstractType
fn clone(&self) -> BaseIDAbstractType
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 BaseIDAbstractType
impl Debug for BaseIDAbstractType
sourceimpl From<String> for BaseIDAbstractType
impl From<String> for BaseIDAbstractType
sourceimpl ToString for BaseIDAbstractType
impl ToString for BaseIDAbstractType
impl Copy for BaseIDAbstractType
Auto Trait Implementations
impl RefUnwindSafe for BaseIDAbstractType
impl Send for BaseIDAbstractType
impl Sync for BaseIDAbstractType
impl Unpin for BaseIDAbstractType
impl UnwindSafe for BaseIDAbstractType
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