pub struct LogoutSubject { /* private fields */ }Expand description
Subject data used to issue a front-channel Single Logout request.
Implementations§
Source§impl LogoutSubject
impl LogoutSubject
Sourcepub fn new(name_id: NameId, session_indexes: Vec<SessionIndex>) -> Self
pub fn new(name_id: NameId, session_indexes: Vec<SessionIndex>) -> Self
Create logout subject data from a NameID and SessionIndex values.
Sourcepub fn from_name_id(name_id: NameId) -> Self
pub fn from_name_id(name_id: NameId) -> Self
Create logout subject data with no SessionIndex values.
Sourcepub fn with_session_index(name_id: NameId, session_index: SessionIndex) -> Self
pub fn with_session_index(name_id: NameId, session_index: SessionIndex) -> Self
Create logout subject data with one SessionIndex.
Sourcepub fn session_index(&self) -> Option<&SessionIndex>
pub fn session_index(&self) -> Option<&SessionIndex>
First SessionIndex to include in the logout request, when present.
Sourcepub fn session_indexes(&self) -> &[SessionIndex]
pub fn session_indexes(&self) -> &[SessionIndex]
SessionIndex values to include in the logout request.
Trait Implementations§
Source§impl Clone for LogoutSubject
impl Clone for LogoutSubject
Source§fn clone(&self) -> LogoutSubject
fn clone(&self) -> LogoutSubject
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 LogoutSubject
impl Debug for LogoutSubject
impl Eq for LogoutSubject
Source§impl PartialEq for LogoutSubject
impl PartialEq for LogoutSubject
impl StructuralPartialEq for LogoutSubject
Auto Trait Implementations§
impl Freeze for LogoutSubject
impl RefUnwindSafe for LogoutSubject
impl Send for LogoutSubject
impl Sync for LogoutSubject
impl Unpin for LogoutSubject
impl UnsafeUnpin for LogoutSubject
impl UnwindSafe for LogoutSubject
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