Struct rocket::mtls::x509::BasicConstraints
pub struct BasicConstraints {
pub ca: bool,
pub path_len_constraint: Option<u32>,
}
Available on crate feature
mtls
only.Expand description
Identifies whether the subject of the certificate is a CA, and the max validation depth.
Fields§
§ca: bool
§path_len_constraint: Option<u32>
Trait Implementations§
§impl Clone for BasicConstraints
impl Clone for BasicConstraints
§fn clone(&self) -> BasicConstraints
fn clone(&self) -> BasicConstraints
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 BasicConstraints
impl Debug for BasicConstraints
§impl<'a> FromDer<'a> for BasicConstraints
impl<'a> FromDer<'a> for BasicConstraints
§impl PartialEq<BasicConstraints> for BasicConstraints
impl PartialEq<BasicConstraints> for BasicConstraints
§fn eq(&self, other: &BasicConstraints) -> bool
fn eq(&self, other: &BasicConstraints) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for BasicConstraints
Auto Trait Implementations§
impl RefUnwindSafe for BasicConstraints
impl Send for BasicConstraints
impl Sync for BasicConstraints
impl Unpin for BasicConstraints
impl UnwindSafe for BasicConstraints
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.