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
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