Struct pkix::x509::UserNotice
source · pub struct UserNotice {
pub notice_ref: Option<NoticeReference>,
pub explicit_text: Option<DisplayText>,
}
Expand description
UserNotice as defined in RFC 5280 Section 4.2.1.4.
UserNotice ::= SEQUENCE {
noticeRef NoticeReference OPTIONAL,
explicitText DisplayText OPTIONAL
}
Fields§
§notice_ref: Option<NoticeReference>
§explicit_text: Option<DisplayText>
Trait Implementations§
source§impl BERDecodable for UserNotice
impl BERDecodable for UserNotice
source§fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
fn decode_ber(reader: BERReader<'_, '_>) -> ASN1Result<Self>
source§impl Clone for UserNotice
impl Clone for UserNotice
source§fn clone(&self) -> UserNotice
fn clone(&self) -> UserNotice
Returns a copy 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 UserNotice
impl Debug for UserNotice
source§impl Hash for UserNotice
impl Hash for UserNotice
source§impl PartialEq for UserNotice
impl PartialEq for UserNotice
source§fn eq(&self, other: &UserNotice) -> bool
fn eq(&self, other: &UserNotice) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for UserNotice
impl StructuralEq for UserNotice
impl StructuralPartialEq for UserNotice
Auto Trait Implementations§
impl RefUnwindSafe for UserNotice
impl Send for UserNotice
impl Sync for UserNotice
impl Unpin for UserNotice
impl UnwindSafe for UserNotice
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