pub struct Offer {
pub available: Option<bool>,
pub currency: Option<String>,
pub domain: Option<String>,
pub premium: Option<bool>,
pub price_cents: Option<i32>,
pub renewal_price_cents: Option<i32>,
pub tld: Option<String>,
}Fields§
§available: Option<bool>whether it can be bought right now
currency: Option<String>the currency both prices are in
domain: Option<String>the name this quote prices
whether the registry prices it above the standard rate
price_cents: Option<i32>sell (first-term registration)
renewal_price_cents: Option<i32>sell (renewal)
tld: Option<String>the top-level domain the name sits under
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Offer
impl<'de> Deserialize<'de> for Offer
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 StructuralPartialEq for Offer
Auto Trait Implementations§
impl Freeze for Offer
impl RefUnwindSafe for Offer
impl Send for Offer
impl Sync for Offer
impl Unpin for Offer
impl UnsafeUnpin for Offer
impl UnwindSafe for Offer
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