pub struct DomainRecord { /* private fields */ }
Expand description
Domain record resources are used to set or retrieve information about the individual DNS records configured for a domain. This allows you to build and manage DNS zone files by adding and modifying individual records for a domain.
Requests with this output this type are accessed via Domain::get(..).records()
.
Make sure to check the functions in DomainRecordRequest
Implementations§
Source§impl DomainRecord
impl DomainRecord
Sourcepub fn kind(&self) -> &String
pub fn kind(&self) -> &String
The type of the DNS record (ex: A, CNAME, TXT, …).
Note: Since type
is a keyword in Rust kind
is used instead.
Trait Implementations§
Source§impl Clone for DomainRecord
impl Clone for DomainRecord
Source§fn clone(&self) -> DomainRecord
fn clone(&self) -> DomainRecord
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 DomainRecord
impl Debug for DomainRecord
Source§impl<'de> Deserialize<'de> for DomainRecord
impl<'de> Deserialize<'de> for DomainRecord
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 HasResponse for DomainRecord
impl HasResponse for DomainRecord
Auto Trait Implementations§
impl Freeze for DomainRecord
impl RefUnwindSafe for DomainRecord
impl Send for DomainRecord
impl Sync for DomainRecord
impl Unpin for DomainRecord
impl UnwindSafe for DomainRecord
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