Struct dnsimple::dnsimple::templates::TemplateRecordPayload[][src]

pub struct TemplateRecordPayload {
    pub name: String,
    pub record_type: String,
    pub content: String,
    pub ttl: Option<u64>,
    pub priority: Option<u64>,
}
Expand description

Payload used to create a template record

Fields

name: String

The template record name (without the domain name).

record_type: String

The type of template record, in uppercase.

content: String

The plain-text template record content.

ttl: Option<u64>

The template record TTL value.

priority: Option<u64>

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

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.