pub struct ZoneDocRecord {
pub name: String,
pub record_type: String,
pub ttl: u32,
pub data: String,
pub geo_routing: Option<bool>,
pub balance_ratio: Option<u32>,
pub host_health: Option<ZoneDocHostHealth>,
pub geo_bans: Option<Vec<ZoneDocGeoBan>>,
pub health_check: Option<ZoneDocHealthCheck>,
}Expand description
One record value of a ZoneDocument.
Fields§
§name: StringOwner name relative to the zone (@, www).
record_type: StringRecord type (A, MX).
ttl: u32TTL in seconds. On import an RRset already in the zone keeps its own.
data: StringRecord data, in-zone names relative.
geo_routing: Option<bool>As RecordValue::geo_routing.
balance_ratio: Option<u32>As RecordValue::balance_ratio.
host_health: Option<ZoneDocHostHealth>As RecordValue::host_health; omitted for None.
geo_bans: Option<Vec<ZoneDocGeoBan>>Geo bans of the value.
health_check: Option<ZoneDocHealthCheck>Health check of the value, without status.
Trait Implementations§
Source§impl Clone for ZoneDocRecord
impl Clone for ZoneDocRecord
Source§fn clone(&self) -> ZoneDocRecord
fn clone(&self) -> ZoneDocRecord
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ZoneDocRecord
impl Debug for ZoneDocRecord
Source§impl<'de> Deserialize<'de> for ZoneDocRecord
impl<'de> Deserialize<'de> for ZoneDocRecord
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
Source§impl PartialEq for ZoneDocRecord
impl PartialEq for ZoneDocRecord
Source§impl Serialize for ZoneDocRecord
impl Serialize for ZoneDocRecord
impl StructuralPartialEq for ZoneDocRecord
Auto Trait Implementations§
impl Freeze for ZoneDocRecord
impl RefUnwindSafe for ZoneDocRecord
impl Send for ZoneDocRecord
impl Sync for ZoneDocRecord
impl Unpin for ZoneDocRecord
impl UnsafeUnpin for ZoneDocRecord
impl UnwindSafe for ZoneDocRecord
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