pub struct Domain {
pub domain_id: String,
pub domain: Option<String>,
pub pod_id: Option<String>,
pub status: Option<String>,
pub feedback_enabled: Option<bool>,
pub subdomains_enabled: Option<bool>,
pub records: Vec<VerificationRecord>,
pub client_id: Option<String>,
pub updated_at: Option<String>,
pub created_at: Option<String>,
}Expand description
A sending domain, as the API returns it.
Fields§
§domain_id: StringUnique domain id.
domain: Option<String>The domain name, e.g. mail.example.com.
pod_id: Option<String>Owning pod, when the account uses pods.
status: Option<String>Verification status (e.g. pending, verified).
feedback_enabled: Option<bool>Whether bounce/complaint feedback is enabled.
subdomains_enabled: Option<bool>Whether subdomains of this domain may be used for inboxes.
records: Vec<VerificationRecord>The DNS records to add for verification and sending.
client_id: Option<String>Your reference id from creation, when set.
updated_at: Option<String>Timestamp the domain was last updated (RFC 3339).
created_at: Option<String>Timestamp the domain was created (RFC 3339).
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