Struct rocket::mtls::x509::PolicyConstraints
pub struct PolicyConstraints {
pub require_explicit_policy: Option<u32>,
pub inhibit_policy_mapping: Option<u32>,
}
Available on crate feature
mtls
only.Fields§
§require_explicit_policy: Option<u32>
§inhibit_policy_mapping: Option<u32>
Trait Implementations§
§impl Clone for PolicyConstraints
impl Clone for PolicyConstraints
§fn clone(&self) -> PolicyConstraints
fn clone(&self) -> PolicyConstraints
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 more§impl Debug for PolicyConstraints
impl Debug for PolicyConstraints
§impl<'a> FromDer<'a> for PolicyConstraints
impl<'a> FromDer<'a> for PolicyConstraints
§impl PartialEq<PolicyConstraints> for PolicyConstraints
impl PartialEq<PolicyConstraints> for PolicyConstraints
§fn eq(&self, other: &PolicyConstraints) -> bool
fn eq(&self, other: &PolicyConstraints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PolicyConstraints
Auto Trait Implementations§
impl RefUnwindSafe for PolicyConstraints
impl Send for PolicyConstraints
impl Sync for PolicyConstraints
impl Unpin for PolicyConstraints
impl UnwindSafe for PolicyConstraints
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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>
§impl<T> IntoCollection<T> for T
impl<T> IntoCollection<T> for T
§fn into_collection<A>(self) -> SmallVec<A>where
A: Array<Item = T>,
fn into_collection<A>(self) -> SmallVec<A>where A: Array<Item = T>,
Converts
self
into a collection.