pub struct Zone {
pub uuid: Uuid,
pub name: String,
pub has_api_key: bool,
pub suspended: bool,
pub owner_suspended: bool,
pub created_at: i64,
pub updated_at: i64,
}Expand description
A DNS zone (example.com).
Fields§
§uuid: UuidZone id.
name: StringZone name, lowercase, without trailing dot.
has_api_key: boolWhether the zone has a zone-scoped API key. The key itself is shown only once, by
Zones::create_api_key.
suspended: boolSuspended by an Admin. Reads keep working; writes answer
ErrorCode::Suspended, except deleting the zone,
removing a member and revoking the zone key.
owner_suspended: boolThe zone’s Owner is suspended; the zone then behaves as suspended too.
created_at: i64Unix seconds.
updated_at: i64Unix seconds.
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
Auto Trait Implementations§
impl Freeze for Zone
impl RefUnwindSafe for Zone
impl Send for Zone
impl Sync for Zone
impl Unpin for Zone
impl UnsafeUnpin 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