pub struct SamlResponse {
pub id: String,
pub version: String,
pub issue_instant: DateTime<Utc>,
pub destination: Option<String>,
pub in_response_to: Option<String>,
pub issuer: String,
pub status: SamlStatus,
pub assertion: Option<SamlAssertion>,
pub encrypted_assertion: Option<String>,
pub signature: Option<String>,
}Expand description
SAML 响应
Fields§
§id: String响应 ID
version: String版本
issue_instant: DateTime<Utc>发行时间
destination: Option<String>目标
in_response_to: Option<String>响应请求 ID
issuer: String发行人
status: SamlStatus状态
assertion: Option<SamlAssertion>断言
encrypted_assertion: Option<String>加密断言
signature: Option<String>签名
Implementations§
Source§impl SamlResponse
impl SamlResponse
Trait Implementations§
Source§impl Clone for SamlResponse
impl Clone for SamlResponse
Source§fn clone(&self) -> SamlResponse
fn clone(&self) -> SamlResponse
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 SamlResponse
impl Debug for SamlResponse
Source§impl<'de> Deserialize<'de> for SamlResponse
impl<'de> Deserialize<'de> for SamlResponse
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 SamlResponse
impl RefUnwindSafe for SamlResponse
impl Send for SamlResponse
impl Sync for SamlResponse
impl Unpin for SamlResponse
impl UnsafeUnpin for SamlResponse
impl UnwindSafe for SamlResponse
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