Struct aws_sdk_acmpca::types::PolicyInformation
source · #[non_exhaustive]pub struct PolicyInformation {
pub cert_policy_id: String,
pub policy_qualifiers: Option<Vec<PolicyQualifierInfo>>,
}
Expand description
Defines the X.509 CertificatePolicies
extension.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.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. Amazon Web Services Private CA supports the certification practice statement (CPS) qualifier.
Implementations§
source§impl PolicyInformation
impl PolicyInformation
sourcepub fn cert_policy_id(&self) -> &str
pub fn cert_policy_id(&self) -> &str
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).
sourcepub fn policy_qualifiers(&self) -> &[PolicyQualifierInfo]
pub fn policy_qualifiers(&self) -> &[PolicyQualifierInfo]
Modifies the given CertPolicyId
with a qualifier. Amazon Web Services Private CA supports the certification practice statement (CPS) qualifier.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .policy_qualifiers.is_none()
.
source§impl PolicyInformation
impl PolicyInformation
sourcepub fn builder() -> PolicyInformationBuilder
pub fn builder() -> PolicyInformationBuilder
Creates a new builder-style object to manufacture PolicyInformation
.
Trait Implementations§
source§impl Clone for PolicyInformation
impl Clone for PolicyInformation
source§fn clone(&self) -> PolicyInformation
fn clone(&self) -> PolicyInformation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for PolicyInformation
impl Debug for PolicyInformation
source§impl PartialEq for PolicyInformation
impl PartialEq for PolicyInformation
source§fn eq(&self, other: &PolicyInformation) -> bool
fn eq(&self, other: &PolicyInformation) -> bool
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more