pub struct PolicyInformation {
pub cert_policy_id: String,
pub policy_qualifiers: Option<Vec<PolicyQualifierInfo>>,
}
Expand description
Defines the X.509 CertificatePolicies
extension.
Fields§
§cert_policy_id: String
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of Object Identifier (OID).
policy_qualifiers: Option<Vec<PolicyQualifierInfo>>
Modifies the given CertPolicyId
with a qualifier. ACM Private CA supports the certification practice statement (CPS) qualifier.
Trait Implementations§
Source§impl Clone for PolicyInformation
impl Clone for PolicyInformation
Source§fn clone(&self) -> PolicyInformation
fn clone(&self) -> PolicyInformation
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 PolicyInformation
impl Debug for PolicyInformation
Source§impl Default for PolicyInformation
impl Default for PolicyInformation
Source§fn default() -> PolicyInformation
fn default() -> PolicyInformation
Returns the “default value” for a type. Read more
Source§impl PartialEq for PolicyInformation
impl PartialEq for PolicyInformation
Source§impl Serialize for PolicyInformation
impl Serialize for PolicyInformation
impl StructuralPartialEq for PolicyInformation
Auto Trait Implementations§
impl Freeze for PolicyInformation
impl RefUnwindSafe for PolicyInformation
impl Send for PolicyInformation
impl Sync for PolicyInformation
impl Unpin for PolicyInformation
impl UnwindSafe for PolicyInformation
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