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

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.