#[non_exhaustive]pub struct DomainCreateResult {
pub domain: String,
pub registered: bool,
pub charged_amount: Option<f64>,
pub domain_id: Option<u64>,
pub order_id: Option<u64>,
pub transaction_id: Option<u64>,
pub whoisguard_enabled: Option<bool>,
pub non_real_time_domain: Option<bool>,
}Expand description
The outcome of a Domains::create call.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.domain: StringThe domain that was registered.
registered: boolWhether registration succeeded.
charged_amount: Option<f64>The amount charged for the order, when reported.
domain_id: Option<u64>The Namecheap internal domain identifier, when reported.
order_id: Option<u64>The order identifier, when reported.
transaction_id: Option<u64>The transaction identifier, when reported.
whoisguard_enabled: Option<bool>Whether WhoisGuard privacy was enabled for the domain.
non_real_time_domain: Option<bool>Whether the registration is processed out of band rather than in real time.
Trait Implementations§
Source§impl Clone for DomainCreateResult
impl Clone for DomainCreateResult
Source§fn clone(&self) -> DomainCreateResult
fn clone(&self) -> DomainCreateResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for DomainCreateResult
impl Debug for DomainCreateResult
Source§impl<'de> Deserialize<'de> for DomainCreateResult
impl<'de> Deserialize<'de> for DomainCreateResult
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 DomainCreateResult
impl RefUnwindSafe for DomainCreateResult
impl Send for DomainCreateResult
impl Sync for DomainCreateResult
impl Unpin for DomainCreateResult
impl UnsafeUnpin for DomainCreateResult
impl UnwindSafe for DomainCreateResult
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