pub struct SamlLogoutRequest {
pub id: String,
pub version: String,
pub issue_instant: DateTime<Utc>,
pub destination: Option<String>,
pub issuer: String,
pub name_id: Option<SamlNameId>,
pub session_index: Option<String>,
pub signature: Option<String>,
}Expand description
SAML 登出请求
Fields§
§id: String请求 ID
version: String版本
issue_instant: DateTime<Utc>发行时间
destination: Option<String>目标
issuer: String发行人
name_id: Option<SamlNameId>名称 ID
session_index: Option<String>会话索引
signature: Option<String>签名
Implementations§
Source§impl SamlLogoutRequest
impl SamlLogoutRequest
Sourcepub fn with_destination(self, destination: impl Into<String>) -> Self
pub fn with_destination(self, destination: impl Into<String>) -> Self
设置目标
Sourcepub fn with_name_id(self, name_id: SamlNameId) -> Self
pub fn with_name_id(self, name_id: SamlNameId) -> Self
设置名称 ID
Sourcepub fn with_session_index(self, index: impl Into<String>) -> Self
pub fn with_session_index(self, index: impl Into<String>) -> Self
设置会话索引
Trait Implementations§
Source§impl Clone for SamlLogoutRequest
impl Clone for SamlLogoutRequest
Source§fn clone(&self) -> SamlLogoutRequest
fn clone(&self) -> SamlLogoutRequest
Returns a duplicate of the value. Read more
1.0.0 · 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 SamlLogoutRequest
impl Debug for SamlLogoutRequest
Source§impl<'de> Deserialize<'de> for SamlLogoutRequest
impl<'de> Deserialize<'de> for SamlLogoutRequest
Source§fn 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
Auto Trait Implementations§
impl Freeze for SamlLogoutRequest
impl RefUnwindSafe for SamlLogoutRequest
impl Send for SamlLogoutRequest
impl Sync for SamlLogoutRequest
impl Unpin for SamlLogoutRequest
impl UnsafeUnpin for SamlLogoutRequest
impl UnwindSafe for SamlLogoutRequest
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