Struct dnsimple::dnsimple::templates::TemplateRecordPayload
source · 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§
source§impl Debug for TemplateRecordPayload
impl Debug for TemplateRecordPayload
source§impl<'de> Deserialize<'de> for TemplateRecordPayload
impl<'de> Deserialize<'de> for TemplateRecordPayload
source§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