don't serialize 'null' for 'expires' when ordering

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-03-17 12:24:21 +01:00
parent 15fae62c15
commit 549b52cf68

View File

@ -45,6 +45,7 @@ pub struct OrderData {
pub status: Status,
/// This order's expiration date as RFC3339 formatted time string.
#[serde(skip_serializing_if = "Option::is_none")]
pub expires: Option<String>,
/// List of identifiers to order for the certificate.