pub struct MetaConfig {
pub terms_of_service: String,
pub website: String,
pub caa_identities: Vec<String>,
}Expand description
The optional meta members of the directory object (RFC 8555 §7.1.1).
All empty by default, and an empty field is omitted rather than sent blank:
§7.1.1 makes every one optional, and advertising "website": "" says less
than saying nothing.
terms_of_service is the one with teeth. Setting it turns on §7.3.3’s
agreement requirement — newAccount then refuses a request that does not
carry termsOfServiceAgreed: true — so it is not merely cosmetic, and
leaving it unset (the default) keeps today’s behaviour exactly.
Fields§
§terms_of_service: StringA URL identifying the current terms of service.
website: StringAn HTTP or HTTPS URL locating a website providing more information about the ACME server.
caa_identities: Vec<String>The hostnames this CA recognizes in CAA records (RFC 8555 §7.1.1). Advertised only; this server does not itself check CAA.
Trait Implementations§
Source§impl Clone for MetaConfig
impl Clone for MetaConfig
Source§fn clone(&self) -> MetaConfig
fn clone(&self) -> MetaConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for MetaConfig
impl Debug for MetaConfig
Source§impl Default for MetaConfig
impl Default for MetaConfig
Source§fn default() -> MetaConfig
fn default() -> MetaConfig
Source§impl<'de> Deserialize<'de> for MetaConfigwhere
MetaConfig: Default,
impl<'de> Deserialize<'de> for MetaConfigwhere
MetaConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Auto Trait Implementations§
impl Freeze for MetaConfig
impl RefUnwindSafe for MetaConfig
impl Send for MetaConfig
impl Sync for MetaConfig
impl Unpin for MetaConfig
impl UnsafeUnpin for MetaConfig
impl UnwindSafe for MetaConfig
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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