Struct samael::metadata::RoleDescriptor [−][src]
pub struct RoleDescriptor {
pub id: Option<String>,
pub valid_until: Option<DateTime<Utc>>,
pub cache_duration: Option<usize>,
pub protocol_support_enumeration: Option<String>,
pub error_url: Option<String>,
pub signature: Option<Signature>,
pub key_descriptors: Vec<KeyDescriptor>,
pub organization: Option<Organization>,
pub contact_people: Vec<ContactPerson>,
}
Fields
id: Option<String>
valid_until: Option<DateTime<Utc>>
cache_duration: Option<usize>
protocol_support_enumeration: Option<String>
error_url: Option<String>
signature: Option<Signature>
key_descriptors: Vec<KeyDescriptor>
organization: Option<Organization>
contact_people: Vec<ContactPerson>
Trait Implementations
Returns the “default value” for a type. Read more
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for RoleDescriptor
impl Send for RoleDescriptor
impl Sync for RoleDescriptor
impl Unpin for RoleDescriptor
impl UnwindSafe for RoleDescriptor
Blanket Implementations
Mutably borrows from an owned value. Read more