pub struct Zone {
pub acct_id: Uuid,
pub certificate: String,
pub zone_id: Uuid,
pub name: String,
pub description: Option<String>,
pub node_refresh_interval: i64,
pub node_renewal_threshold: i32,
}
Expand description
Detailed info of a zone.
Fields
acct_id: Uuid
The account ID of the account that this zone belongs to.
certificate: String
Zone certificate (PEM format)
zone_id: Uuid
Zone Id
name: String
zone name
description: Option<String>
zone description
node_refresh_interval: i64
Interval between node agent checkins with the backend, in seconds
node_renewal_threshold: i32
The node agent requests certificate renewal when the certificate’s remaining validity is less than this percentage of the original validity
Implementations
Trait Implementations
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 RefUnwindSafe for Zone
impl UnwindSafe for Zone
Blanket Implementations
Mutably borrows from an owned value. Read more