pub struct AcmeFileConfig {
pub accept_tos: bool,
pub email: Option<String>,
pub directory: Option<String>,
pub staging: bool,
pub host_whitelist: Option<Vec<String>>,
pub cert_dir: Option<PathBuf>,
}Expand description
Automatic-certificate (ACME) settings.
Fields§
§accept_tos: boolMust be true to enable automatic issuance (accepts the CA’s ToS).
email: Option<String>Account contact email (optional).
directory: Option<String>ACME directory URL (defaults to Let’s Encrypt production).
staging: boolUse the Let’s Encrypt staging environment.
host_whitelist: Option<Vec<String>>Only issue for these host names, if set.
cert_dir: Option<PathBuf>Override the certificate storage directory.
Trait Implementations§
Source§impl Clone for AcmeFileConfig
impl Clone for AcmeFileConfig
Source§fn clone(&self) -> AcmeFileConfig
fn clone(&self) -> AcmeFileConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AcmeFileConfig
impl Debug for AcmeFileConfig
Source§impl Default for AcmeFileConfig
impl Default for AcmeFileConfig
Source§fn default() -> AcmeFileConfig
fn default() -> AcmeFileConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcmeFileConfig
impl<'de> Deserialize<'de> for AcmeFileConfig
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 AcmeFileConfig
impl RefUnwindSafe for AcmeFileConfig
impl Send for AcmeFileConfig
impl Sync for AcmeFileConfig
impl Unpin for AcmeFileConfig
impl UnsafeUnpin for AcmeFileConfig
impl UnwindSafe for AcmeFileConfig
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