pub struct DnsRecord {
pub meta: Meta,
pub locked: bool,
pub name: String,
pub ttl: u32,
pub zone_id: String,
pub modified_on: DateTime<Utc>,
pub created_on: DateTime<Utc>,
pub proxiable: bool,
pub content: DnsContent,
pub id: String,
pub proxied: bool,
pub zone_name: String,
}Fields§
§meta: MetaExtra Cloudflare-specific information about the record
locked: boolWhether this record can be modified/deleted (true means it’s managed by Cloudflare)
name: StringDNS record name
ttl: u32Time to live for DNS record. Value of 1 is ‘automatic’
zone_id: StringZone identifier tag
modified_on: DateTime<Utc>When the record was last modified
created_on: DateTime<Utc>When the record was created
proxiable: boolWhether this record can be modified/deleted (true means it’s managed by Cloudflare)
content: DnsContentType of the DNS record that also holds the record value
id: StringDNS record identifier tag
proxied: boolWhether the record is receiving the performance and security benefits of Cloudflare
zone_name: StringThe domain of the record
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DnsRecord
impl<'de> Deserialize<'de> for DnsRecord
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
Source§impl<'a> Endpoint<DnsRecord, (), CreateDnsRecordParams<'a>> for CreateDnsRecord<'a>
impl<'a> Endpoint<DnsRecord, (), CreateDnsRecordParams<'a>> for CreateDnsRecord<'a>
Source§impl<'a> Endpoint<DnsRecord, (), UpdateDnsRecordParams<'a>> for UpdateDnsRecord<'a>
impl<'a> Endpoint<DnsRecord, (), UpdateDnsRecordParams<'a>> for UpdateDnsRecord<'a>
impl ApiResultTraits for DnsRecord
Auto Trait Implementations§
impl Freeze for DnsRecord
impl RefUnwindSafe for DnsRecord
impl Send for DnsRecord
impl Sync for DnsRecord
impl Unpin for DnsRecord
impl UnwindSafe for DnsRecord
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more