Struct saml_rs::assertion::SubjectData
source · [−]pub struct SubjectData {
pub relay_state: String,
pub qualifier: Option<BaseIDAbstractType>,
pub qualifier_value: Option<String>,
pub nameid_format: NameIdFormat,
pub nameid_value: &'static str,
pub acs: String,
pub subject_not_on_or_after: DateTime<Utc>,
}
Expand description
Data type for passing subject data in because yeaaaaah, specs
TODO: Justify the existence of the elements of this struct … more completely.
Fields
relay_state: String
Relay state as provided by the crate::AuthnRequest
qualifier: Option<BaseIDAbstractType>
Qualifier TODO: What’s the qualifier again?
qualifier_value: Option<String>
Qualifier value TODO: I really should know what these are
nameid_format: NameIdFormat
crate::sp::NameIdFormat, what kind of format you’re… going TODO oh no I’ve done it again
nameid_value: &'static str
NameID value - I know this one, it’s the reference to the user, like username or some rando noise if it’s transient. Regret, if it’s crate::sp::NameIdFormat::Kerberos
acs: String
The AssertionConsumerService - where we’ll send the request.
subject_not_on_or_after: DateTime<Utc>
The expiry of this Assertion. Woo, recovered there at the end.
Trait Implementations
sourceimpl Clone for SubjectData
impl Clone for SubjectData
sourcefn clone(&self) -> SubjectData
fn clone(&self) -> SubjectData
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 moreAuto Trait Implementations
impl RefUnwindSafe for SubjectData
impl Send for SubjectData
impl Sync for SubjectData
impl Unpin for SubjectData
impl UnwindSafe for SubjectData
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