Struct dnsimple::dnsimple::zones_records::ZoneRecord [−][src]
pub struct ZoneRecord {
pub id: u64,
pub zone_id: String,
pub parent_id: Option<String>,
pub name: String,
pub content: String,
pub ttl: u64,
pub priority: Option<u64>,
pub record_type: String,
pub regions: Option<Vec<String>>,
pub system_record: bool,
pub created_at: String,
pub updated_at: String,
}
Expand description
Represents a zone record in DNSimple
Fields
id: u64
The record ID in DNSimple.
zone_id: String
The associated zone ID.
parent_id: Option<String>
The ID of the parent record, if this record is dependent on another record.
name: String
The record name (without the domain name).
content: String
The plain-text record content.
ttl: u64
The TTL value.
priority: Option<u64>
The priority value, if the type of record accepts a priority.
record_type: String
The type of record, in uppercase.
regions: Option<Vec<String>>
The regions where the record is propagated. This is optional.
system_record: bool
True if this is a system record created by DNSimple. System records are read-only.
created_at: String
When the record was created in DNSimple.
updated_at: String
When the record was last updated in DNSimple.
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