Struct mailslurp::models::domain_name_record::DomainNameRecord [−][src]
pub struct DomainNameRecord { pub name: String, pub record_entries: Vec<String>, pub record_type: RecordType, pub ttl: i64, }
Expand description
DomainNameRecord : DNS Record required for verification of a domain. Record vary depending on domain type.
Fields
name: String
record_entries: Vec<String>
record_type: RecordType
ttl: i64
Implementations
pub fn new(
name: String,
record_entries: Vec<String>,
record_type: RecordType,
ttl: i64
) -> DomainNameRecord
pub fn new(
name: String,
record_entries: Vec<String>,
record_type: RecordType,
ttl: i64
) -> DomainNameRecord
DNS Record required for verification of a domain. Record vary depending on domain type.
Trait Implementations
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
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for DomainNameRecord
impl Send for DomainNameRecord
impl Sync for DomainNameRecord
impl Unpin for DomainNameRecord
impl UnwindSafe for DomainNameRecord
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more