pub struct Domain {
pub domain_name: Option<String>,
pub resource_state: Option<String>,
pub yearly_price: Option<Money>,
}Expand description
A domain that the calling user manages in Google Domains.
This type is not used in any activity, and only used as part of another schema.
Fields§
§domain_name: Option<String>The domain name. Unicode domain names are expressed in Punycode format.
resource_state: Option<String>The state of this domain as a Registration resource.
yearly_price: Option<Money>Price to renew the domain for one year. Only set when resource_state is IMPORTABLE.
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
impl Part for Domain
Auto Trait Implementations§
impl Freeze for Domain
impl RefUnwindSafe for Domain
impl Send for Domain
impl Sync for Domain
impl Unpin 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