Struct dnsimple::dnsimple::certificates::LetsEncryptPurchasePayload [−][src]
pub struct LetsEncryptPurchasePayload {
pub contact_id: u64,
pub auto_renew: bool,
pub name: String,
pub alternate_names: Vec<String>,
}
Expand description
The payload for purchasing a Let’s Encrypt Certificate
Fields
contact_id: u64
The ID of an existing contact in your account.
auto_renew: bool
Set to true to enable the auto-renewal of the certificate.
name: String
The certificate name.
alternate_names: Vec<String>
The certificate alternate names (i.e. [“docs.example.com”, “status.example.com”])
Trait Implementations
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