pub struct EntityDescriptor {
pub entity_id: String,
pub valid_until: Option<DateTime<Utc>>,
pub cache_duration: Option<String>,
pub sp_sso_descriptor: Option<SPSSODescriptor>,
pub idp_sso_descriptor: Option<IDPSSODescriptor>,
}Expand description
SAML 实体描述符
Fields§
§entity_id: String实体 ID
valid_until: Option<DateTime<Utc>>有效期
cache_duration: Option<String>缓存时长
sp_sso_descriptor: Option<SPSSODescriptor>SP 描述符
idp_sso_descriptor: Option<IDPSSODescriptor>IdP 描述符
Trait Implementations§
Source§impl Clone for EntityDescriptor
impl Clone for EntityDescriptor
Source§fn clone(&self) -> EntityDescriptor
fn clone(&self) -> EntityDescriptor
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 EntityDescriptor
impl Debug for EntityDescriptor
Source§impl<'de> Deserialize<'de> for EntityDescriptor
impl<'de> Deserialize<'de> for EntityDescriptor
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 EntityDescriptor
impl RefUnwindSafe for EntityDescriptor
impl Send for EntityDescriptor
impl Sync for EntityDescriptor
impl Unpin for EntityDescriptor
impl UnsafeUnpin for EntityDescriptor
impl UnwindSafe for EntityDescriptor
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