pub struct DnsEntry {
pub id: String,
pub name: String,
pub record_type: DnsRecordType,
pub content: String,
pub ttl: u64,
pub prio: u64,
pub notes: Option<String>,
}Expand description
A DNS entry for a domain, returned by the API
Fields§
§id: Stringthe unique ID of this entry
name: Stringthe full name of the entry, e.g. _atproto.example.com
record_type: DnsRecordTypethe type of record, e.g. A or TXT.
content: Stringthe content of this record.
ttl: u64the time-to-live of this record
prio: u64The priority of this record
notes: Option<String>Any notes set for this record. Note that you can not set these from the API itself, you have to do so with the management console on the websiter.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DnsEntry
impl<'de> Deserialize<'de> for DnsEntry
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 DnsEntry
impl RefUnwindSafe for DnsEntry
impl Send for DnsEntry
impl Sync for DnsEntry
impl Unpin for DnsEntry
impl UnwindSafe for DnsEntry
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