pub struct DnsRecordResponse {
pub id: String,
pub record_type: String,
pub name: String,
pub content: String,
pub ttl: i64,
pub proxied: bool,
pub comment: Option<String>,
}Expand description
DNS record as returned by the Cloudflare API (always has an ID).
Fields§
§id: String§record_type: String§name: String§content: String§ttl: i64§proxied: bool§comment: Option<String>Trait Implementations§
Source§impl Clone for DnsRecordResponse
impl Clone for DnsRecordResponse
Source§fn clone(&self) -> DnsRecordResponse
fn clone(&self) -> DnsRecordResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DnsRecordResponse
impl Debug for DnsRecordResponse
Source§impl<'de> Deserialize<'de> for DnsRecordResponse
impl<'de> Deserialize<'de> for DnsRecordResponse
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
Auto Trait Implementations§
impl Freeze for DnsRecordResponse
impl RefUnwindSafe for DnsRecordResponse
impl Send for DnsRecordResponse
impl Sync for DnsRecordResponse
impl Unpin for DnsRecordResponse
impl UnsafeUnpin for DnsRecordResponse
impl UnwindSafe for DnsRecordResponse
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