pub struct Pricing {
pub registration: String,
pub renewal: String,
pub transfer: String,
pub special_type: TldType,
}
Expand description
The default pricing for the registration, renewal and transfer of a given TLD.
Fields§
§registration: String
the registration price.
renewal: String
the renewal price.
transfer: String
the transfer price.
special_type: TldType
A field indicating that his is a “special” domain, and if so what kind. Currently this only valid version seems to be “handshake”
This field is undocumented by porkbun, but I included it anyways to let people filter out these TLDs.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pricing
impl<'de> Deserialize<'de> for Pricing
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 Pricing
impl RefUnwindSafe for Pricing
impl Send for Pricing
impl Sync for Pricing
impl Unpin for Pricing
impl UnwindSafe for Pricing
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