pub struct StarConfig {
pub enabled: bool,
pub min_renewal_interval_secs: u64,
pub max_renewal_interval_secs: u64,
pub default_renewal_interval_secs: u64,
pub max_lifetime_days: u32,
pub max_active_orders: usize,
pub pre_renewal_factor: f64,
}Expand description
[star] section — Short-Term Automatic Renewal certificates.
[star]
enabled = true
min_renewal_interval_secs = 3600
max_renewal_interval_secs = 604800
default_renewal_interval_secs = 86400
max_lifetime_days = 365
max_active_orders = 10000
pre_renewal_factor = 0.5Fields§
§enabled: boolEnable STAR certificate support.
min_renewal_interval_secs: u64Minimum renewal interval in seconds (floor: 3600 = 1 hour).
max_renewal_interval_secs: u64Maximum renewal interval in seconds (ceiling: 604800 = 7 days).
default_renewal_interval_secs: u64Default renewal interval when the client does not specify one.
max_lifetime_days: u32Maximum total STAR order lifetime in days.
max_active_orders: usizeMaximum number of active STAR orders (resource exhaustion guard).
pre_renewal_factor: f64Renew when this fraction of the interval remains (0.1–0.9).
Implementations§
Trait Implementations§
Source§impl Clone for StarConfig
impl Clone for StarConfig
Source§fn clone(&self) -> StarConfig
fn clone(&self) -> StarConfig
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 StarConfig
impl Debug for StarConfig
Source§impl Default for StarConfig
impl Default for StarConfig
Source§impl<'de> Deserialize<'de> for StarConfig
impl<'de> Deserialize<'de> for StarConfig
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 StarConfig
impl RefUnwindSafe for StarConfig
impl Send for StarConfig
impl Sync for StarConfig
impl Unpin for StarConfig
impl UnsafeUnpin for StarConfig
impl UnwindSafe for StarConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more