pub struct SamlNameId {
pub format: Option<String>,
pub name_qualifier: Option<String>,
pub value: String,
}Expand description
SAML 名称 ID
Fields§
§format: Option<String>格式
name_qualifier: Option<String>名称限定符
value: String值
Implementations§
Source§impl SamlNameId
impl SamlNameId
Sourcepub fn with_format(self, format: NameIdFormat) -> Self
pub fn with_format(self, format: NameIdFormat) -> Self
设置格式
Sourcepub fn name_id_format(&self) -> Option<NameIdFormat>
pub fn name_id_format(&self) -> Option<NameIdFormat>
获取名称 ID 格式
Trait Implementations§
Source§impl Clone for SamlNameId
impl Clone for SamlNameId
Source§fn clone(&self) -> SamlNameId
fn clone(&self) -> SamlNameId
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 SamlNameId
impl Debug for SamlNameId
Source§impl<'de> Deserialize<'de> for SamlNameId
impl<'de> Deserialize<'de> for SamlNameId
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 SamlNameId
impl RefUnwindSafe for SamlNameId
impl Send for SamlNameId
impl Sync for SamlNameId
impl Unpin for SamlNameId
impl UnsafeUnpin for SamlNameId
impl UnwindSafe for SamlNameId
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