pub struct AcmeConfig {
pub cache: PathBuf,
pub domains: Vec<String>,
pub email: Vec<String>,
pub production: bool,
}Available on crate feature
acme only.Expand description
Configuration for ACME certficates.
Fields§
§cache: PathBufPath to the cache directory.
domains: Vec<String>List of domain names.
email: Vec<String>List of email addresses.
production: boolUse production environment.
Trait Implementations§
Source§impl Clone for AcmeConfig
impl Clone for AcmeConfig
Source§fn clone(&self) -> AcmeConfig
fn clone(&self) -> AcmeConfig
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 AcmeConfig
impl Debug for AcmeConfig
Source§impl Default for AcmeConfig
impl Default for AcmeConfig
Source§fn default() -> AcmeConfig
fn default() -> AcmeConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcmeConfig
impl<'de> Deserialize<'de> for AcmeConfig
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 AcmeConfig
impl RefUnwindSafe for AcmeConfig
impl Send for AcmeConfig
impl Sync for AcmeConfig
impl Unpin for AcmeConfig
impl UnwindSafe for AcmeConfig
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
Mutably borrows from an owned value. Read more