Struct dnsimple::dnsimple::zones_records::ZoneRecordUpdatePayload [−][src]
pub struct ZoneRecordUpdatePayload {
pub name: Option<String>,
pub content: Option<String>,
pub ttl: Option<u64>,
pub priority: Option<u64>,
pub regions: Option<Vec<String>>,
}
Expand description
Represents the payload to be send to update a zone record
Fields
name: Option<String>
The record name (without the domain name).
content: Option<String>
The plain-text record content.
ttl: Option<u64>
The TTL value.
priority: Option<u64>
The priority value, if the type of record accepts a priority.
regions: Option<Vec<String>>
The regions where the record is propagated. This is optional.
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