Enum wasmer_api::types::DnsRecord
source · pub enum DnsRecord {
Show 13 variants
A(ARecord),
AAAA(AaaaRecord),
CName(CNameRecord),
Txt(TxtRecord),
Mx(MxRecord),
Ns(NsRecord),
CAA(CaaRecord),
DName(DNameRecord),
Ptr(PtrRecord),
Soa(SoaRecord),
Srv(SrvRecord),
Sshfp(SshfpRecord),
Unknown,
}
Variants§
A(ARecord)
AAAA(AaaaRecord)
CName(CNameRecord)
Txt(TxtRecord)
Mx(MxRecord)
Ns(NsRecord)
CAA(CaaRecord)
DName(DNameRecord)
Ptr(PtrRecord)
Soa(SoaRecord)
Srv(SrvRecord)
Sshfp(SshfpRecord)
Unknown
Implementations§
source§impl DnsRecord
impl DnsRecord
pub fn id(&self) -> &str
pub fn name(&self) -> Option<&str>
pub fn ttl(&self) -> Option<i32>
pub fn text(&self) -> &str
pub fn record_type(&self) -> &str
pub fn domain(&self) -> Option<&DnsDomain>
pub fn created_at(&self) -> Option<&DateTime>
pub fn updated_at(&self) -> Option<&DateTime>
pub fn deleted_at(&self) -> Option<&DateTime>
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<'de> InlineFragments<'de> for DnsRecord
impl<'de> InlineFragments<'de> for DnsRecord
source§fn deserialize_variant<__D>(
typename: &str,
deserializer: __D,
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize_variant<__D>(
typename: &str,
deserializer: __D,
) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Attempts to deserialize a variant with the given typename.
source§impl QueryFragment for DnsRecord
impl QueryFragment for DnsRecord
§type SchemaType = DNSRecord
type SchemaType = DNSRecord
The type in a schema that this
QueryFragment
represents§type VariablesFields = ()
type VariablesFields = ()
The variables that are required to execute this
QueryFragment
source§fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
fn query(builder: SelectionBuilder<'_, Self::SchemaType, Self::VariablesFields>)
Adds this fragment to the query being built by
builder
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