pub struct RegisterParameters {
pub availability: Option<String>,
pub domain_name: Option<String>,
pub domain_notices: Option<Vec<String>>,
pub supported_privacy: Option<Vec<String>>,
pub yearly_price: Option<Money>,
}Expand description
Parameters required to register a new domain.
This type is not used in any activity, and only used as part of another schema.
Fields§
§availability: Option<String>Indicates whether the domain is available for registration. This value is accurate when obtained by calling RetrieveRegisterParameters, but is approximate when obtained by calling SearchDomains.
domain_name: Option<String>The domain name. Unicode domain names are expressed in Punycode format.
domain_notices: Option<Vec<String>>Notices about special properties of the domain.
supported_privacy: Option<Vec<String>>Contact privacy options that the domain supports.
yearly_price: Option<Money>Price to register or renew the domain for one year.
Trait Implementations§
Source§impl Clone for RegisterParameters
impl Clone for RegisterParameters
Source§fn clone(&self) -> RegisterParameters
fn clone(&self) -> RegisterParameters
Returns a duplicate of the value. Read more
1.0.0 · 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 RegisterParameters
impl Debug for RegisterParameters
Source§impl Default for RegisterParameters
impl Default for RegisterParameters
Source§fn default() -> RegisterParameters
fn default() -> RegisterParameters
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegisterParameters
impl<'de> Deserialize<'de> for RegisterParameters
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
Source§impl Serialize for RegisterParameters
impl Serialize for RegisterParameters
impl Part for RegisterParameters
Auto Trait Implementations§
impl Freeze for RegisterParameters
impl RefUnwindSafe for RegisterParameters
impl Send for RegisterParameters
impl Sync for RegisterParameters
impl Unpin for RegisterParameters
impl UnwindSafe for RegisterParameters
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