pub struct SamlAssertion {
pub id: String,
pub issue_instant: DateTime<Utc>,
pub version: String,
pub issuer: String,
pub subject: Option<SamlSubject>,
pub conditions: Option<SamlConditions>,
pub authn_statement: Option<SamlAuthnStatement>,
pub attribute_statement: Option<SamlAttributeStatement>,
pub signature: Option<String>,
}Expand description
SAML 断言
Fields§
§id: String断言 ID
issue_instant: DateTime<Utc>发行时间
version: String版本
issuer: String发行人
subject: Option<SamlSubject>主题
conditions: Option<SamlConditions>条件
authn_statement: Option<SamlAuthnStatement>认证声明
attribute_statement: Option<SamlAttributeStatement>属性声明
signature: Option<String>签名
Trait Implementations§
Source§impl Clone for SamlAssertion
impl Clone for SamlAssertion
Source§fn clone(&self) -> SamlAssertion
fn clone(&self) -> SamlAssertion
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 SamlAssertion
impl Debug for SamlAssertion
Source§impl<'de> Deserialize<'de> for SamlAssertion
impl<'de> Deserialize<'de> for SamlAssertion
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 SamlAssertion
impl RefUnwindSafe for SamlAssertion
impl Send for SamlAssertion
impl Sync for SamlAssertion
impl Unpin for SamlAssertion
impl UnsafeUnpin for SamlAssertion
impl UnwindSafe for SamlAssertion
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