pub struct Domain {
pub id: DomainId,
pub name: String,
pub status: DomainStatus,
pub created_at: String,
pub region: Region,
pub records: Option<Vec<DomainRecord>>,
pub capabilities: DomainCapabilities,
pub open_tracking: Option<bool>,
pub click_tracking: Option<bool>,
}Expand description
Details of an existing domain.
Fields§
§id: DomainIdThe ID of the domain.
name: StringThe name of the domain.
status: DomainStatusThe status of the domain.
created_at: StringThe date and time the domain was created.
region: RegionThe region where the domain is hosted.
records: Option<Vec<DomainRecord>>The records of the domain.
capabilities: DomainCapabilities§open_tracking: Option<bool>Whether open tracking is enabled for this domain.
click_tracking: Option<bool>Whether click tracking is enabled for this domain.
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