Struct AcmeConfig
pub struct AcmeConfig {
pub storage_path: PathBuf,
pub directory_url: String,
}Expand description
Configuration for ACME certificate provisioning.
Fields§
§storage_path: PathBufPath to persist TLS cert/key and ACME account credentials (create account if missing). Relative paths are resolved from storage.data_dir.
directory_url: StringDirectory service Uri (e.g. Letsencrypt)
Trait Implementations§
§impl Clone for AcmeConfig
impl Clone for AcmeConfig
§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 more§impl Debug for AcmeConfig
impl Debug for AcmeConfig
§impl<'de> Deserialize<'de> for AcmeConfig
impl<'de> Deserialize<'de> for AcmeConfig
§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
§impl JsonSchema for AcmeConfig
impl JsonSchema for AcmeConfig
§fn schema_name() -> Cow<'static, str>
fn schema_name() -> Cow<'static, str>
The name of the generated JSON Schema. Read more
§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read more§impl Serialize for AcmeConfig
impl Serialize for AcmeConfig
Auto Trait Implementations§
impl Freeze for AcmeConfig
impl RefUnwindSafe for AcmeConfig
impl Send for AcmeConfig
impl Sync for AcmeConfig
impl Unpin for AcmeConfig
impl UnsafeUnpin for AcmeConfig
impl UnwindSafe for AcmeConfig
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