Struct dnsimple::dnsimple::zones_records::ZoneRecordPayload
source · pub struct ZoneRecordPayload {
pub name: String,
pub record_type: String,
pub content: String,
pub ttl: Option<u64>,
pub priority: Option<u64>,
pub regions: Option<Vec<String>>,
}
Expand description
Represents the payload to be send to create a zone record
Fields§
§name: String
The record name (without the domain name).
record_type: String
The type of record, in uppercase.
content: 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§
source§impl Debug for ZoneRecordPayload
impl Debug for ZoneRecordPayload
source§impl<'de> Deserialize<'de> for ZoneRecordPayload
impl<'de> Deserialize<'de> for ZoneRecordPayload
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