pub struct Subject { /* private fields */ }Expand description
SAML subject.
Implementations§
Source§impl Subject
impl Subject
Sourcepub fn new(name_id: NameId, confirmations: Vec<SubjectConfirmation>) -> Subject
pub fn new(name_id: NameId, confirmations: Vec<SubjectConfirmation>) -> Subject
Create a subject.
Sourcepub fn confirmations(&self) -> &[SubjectConfirmation]
pub fn confirmations(&self) -> &[SubjectConfirmation]
Subject confirmations.
Trait Implementations§
impl Eq for Subject
impl StructuralPartialEq for Subject
Auto Trait Implementations§
impl Freeze for Subject
impl RefUnwindSafe for Subject
impl Send for Subject
impl Sync for Subject
impl Unpin for Subject
impl UnsafeUnpin for Subject
impl UnwindSafe for Subject
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