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: UuidThe account ID of the account that this zone belongs to.
certificate: StringZone certificate (PEM format)
zone_id: UuidZone Id
name: Stringzone name
description: Option<String>zone description
node_refresh_interval: i64Interval between node agent checkins with the backend, in seconds
node_renewal_threshold: i32The 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<Zone, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<Zone, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for Zone
impl Serialize for Zone
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. 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