pub struct DirectoryMetadata {
pub terms_of_service: Option<String>,
pub website: Option<String>,
pub caa_identities: Option<Vec<String>>,
pub external_account_required: Option<bool>,
}Expand description
Defines an ACME directory metadata object.
For more information, refer to RFC 8555 § 7.1.1
Fields§
§terms_of_service: Option<String>ACME provider Terms of Service URL
website: Option<String>ACME provider website URL
caa_identities: Option<Vec<String>>Array of hostnames recognized for the purpose of CAA record validation
external_account_required: Option<bool>Whether or not an external account is required for account registration by the ACME provider
Trait Implementations§
Source§impl Clone for DirectoryMetadata
impl Clone for DirectoryMetadata
Source§fn clone(&self) -> DirectoryMetadata
fn clone(&self) -> DirectoryMetadata
Returns a duplicate 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 DirectoryMetadata
impl Debug for DirectoryMetadata
Source§impl<'de> Deserialize<'de> for DirectoryMetadata
impl<'de> Deserialize<'de> for DirectoryMetadata
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DirectoryMetadata
impl RefUnwindSafe for DirectoryMetadata
impl Send for DirectoryMetadata
impl Sync for DirectoryMetadata
impl Unpin for DirectoryMetadata
impl UnwindSafe for DirectoryMetadata
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