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§
Source§impl<'de> Deserialize<'de> for Zone
impl<'de> Deserialize<'de> for Zone
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
impl StructuralPartialEq for Zone
Auto Trait Implementations§
impl Freeze for Zone
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnwindSafe for Zone
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