Struct dnsimple::dnsimple::templates::TemplateRecord[][src]

pub struct TemplateRecord {
    pub id: u64,
    pub template_id: u64,
    pub name: String,
    pub content: String,
    pub ttl: u64,
    pub priority: Option<u64>,
    pub record_type: String,
    pub created_at: String,
    pub updated_at: String,
}
Expand description

Represents a template record

Fields

id: u64

The template record ID in DNSimple.

template_id: u64

The template ID in DNSimple.

name: String

The template record name (without the domain name).

content: String

The plain-text template record content.

ttl: u64

The template record TTL value.

priority: Option<u64>

The priority value, if the type of template record accepts a priority.

record_type: String

The type of template record, in uppercase.

created_at: String

When the template record was created in DNSimple.

updated_at: String

When the template 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.