pub struct SamlNameIdPolicy {
pub format: Option<String>,
pub allow_create: Option<bool>,
pub sp_name_qualifier: Option<String>,
}Expand description
SAML 名称 ID 策略
Fields§
§format: Option<String>格式
allow_create: Option<bool>允许创建
sp_name_qualifier: Option<String>SP 名称限定符
Implementations§
Source§impl SamlNameIdPolicy
impl SamlNameIdPolicy
Sourcepub fn with_format(self, format: NameIdFormat) -> Self
pub fn with_format(self, format: NameIdFormat) -> Self
设置格式
Sourcepub fn with_allow_create(self, allow: bool) -> Self
pub fn with_allow_create(self, allow: bool) -> Self
设置允许创建
Trait Implementations§
Source§impl Clone for SamlNameIdPolicy
impl Clone for SamlNameIdPolicy
Source§fn clone(&self) -> SamlNameIdPolicy
fn clone(&self) -> SamlNameIdPolicy
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 SamlNameIdPolicy
impl Debug for SamlNameIdPolicy
Source§impl Default for SamlNameIdPolicy
impl Default for SamlNameIdPolicy
Source§impl<'de> Deserialize<'de> for SamlNameIdPolicy
impl<'de> Deserialize<'de> for SamlNameIdPolicy
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 SamlNameIdPolicy
impl RefUnwindSafe for SamlNameIdPolicy
impl Send for SamlNameIdPolicy
impl Sync for SamlNameIdPolicy
impl Unpin for SamlNameIdPolicy
impl UnsafeUnpin for SamlNameIdPolicy
impl UnwindSafe for SamlNameIdPolicy
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