pub struct Domain {Show 17 fields
pub id: String,
pub name: String,
pub region: String,
pub status: String,
pub spf_ok: bool,
pub dkim_ok: bool,
pub dmarc_ok: bool,
pub records: Vec<DomainCheck>,
pub sent: u64,
pub check_count: u32,
pub last_checked_at: Option<String>,
pub created_at: String,
pub last_error: Option<String>,
pub receiving_enabled: bool,
pub mx_ok: bool,
pub receiving_verified: bool,
pub receiving_error: Option<String>,
}Expand description
A sending (and optionally receiving) domain.
Fields§
§id: String§name: String§region: Stringus-east-1, eu-west-1 or us-west-2.
status: Stringverified, pending or failed.
spf_ok: bool§dkim_ok: bool§dmarc_ok: bool§records: Vec<DomainCheck>§sent: u64§check_count: u32§last_checked_at: Option<String>§created_at: String§last_error: Option<String>§receiving_enabled: bool§mx_ok: bool§receiving_verified: bool§receiving_error: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Domain
impl<'de> Deserialize<'de> for Domain
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 Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin for Domain
impl UnsafeUnpin for Domain
impl UnwindSafe for Domain
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