pub struct SamlRequestedAuthnContext {
pub comparison: Option<String>,
pub class_ref: Vec<String>,
}Expand description
SAML 请求认证上下文
Fields§
§comparison: Option<String>比较方式
class_ref: Vec<String>认证上下文类引用
Implementations§
Source§impl SamlRequestedAuthnContext
impl SamlRequestedAuthnContext
Sourcepub fn with_comparison(self, comparison: AuthnContextComparison) -> Self
pub fn with_comparison(self, comparison: AuthnContextComparison) -> Self
设置比较方式
Trait Implementations§
Source§impl Clone for SamlRequestedAuthnContext
impl Clone for SamlRequestedAuthnContext
Source§fn clone(&self) -> SamlRequestedAuthnContext
fn clone(&self) -> SamlRequestedAuthnContext
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 SamlRequestedAuthnContext
impl Debug for SamlRequestedAuthnContext
Source§impl<'de> Deserialize<'de> for SamlRequestedAuthnContext
impl<'de> Deserialize<'de> for SamlRequestedAuthnContext
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 SamlRequestedAuthnContext
impl RefUnwindSafe for SamlRequestedAuthnContext
impl Send for SamlRequestedAuthnContext
impl Sync for SamlRequestedAuthnContext
impl Unpin for SamlRequestedAuthnContext
impl UnsafeUnpin for SamlRequestedAuthnContext
impl UnwindSafe for SamlRequestedAuthnContext
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