Struct acme_redirect::config::AcmeConfig
source · pub struct AcmeConfig {
pub acme_email: Option<String>,
pub acme_url: String,
pub renew_if_days_left: i64,
}
Fields§
§acme_email: Option<String>
§acme_url: String
§renew_if_days_left: i64
Trait Implementations§
source§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
source§impl PartialEq<AcmeConfig> for AcmeConfig
impl PartialEq<AcmeConfig> for AcmeConfig
source§fn eq(&self, other: &AcmeConfig) -> bool
fn eq(&self, other: &AcmeConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for AcmeConfig
impl Serialize for AcmeConfig
impl Eq for AcmeConfig
impl StructuralEq for AcmeConfig
impl StructuralPartialEq for AcmeConfig
Auto Trait Implementations§
impl RefUnwindSafe for AcmeConfig
impl Send for AcmeConfig
impl Sync for AcmeConfig
impl Unpin for AcmeConfig
impl UnwindSafe for AcmeConfig
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.