forked from proxmox-mirrors/proxmox
formatting fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
9538126247
commit
f406e6fb34
@ -272,7 +272,8 @@ pub struct CertificateRevocation<'a> {
|
|||||||
impl CertificateRevocation<'_> {
|
impl CertificateRevocation<'_> {
|
||||||
/// Create the revocation request using the specified nonce for the given directory.
|
/// Create the revocation request using the specified nonce for the given directory.
|
||||||
pub fn request(&self, directory: &Directory, nonce: &str) -> Result<Request, Error> {
|
pub fn request(&self, directory: &Directory, nonce: &str) -> Result<Request, Error> {
|
||||||
self.account.post_request(&directory.data.revoke_cert, nonce, &self.data)
|
self.account
|
||||||
|
.post_request(&directory.data.revoke_cert, nonce, &self.data)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -138,7 +138,6 @@ fn is_false(b: &bool) -> bool {
|
|||||||
/// This is created via [`Account::get_authorization`](crate::Account::get_authorization()).
|
/// This is created via [`Account::get_authorization`](crate::Account::get_authorization()).
|
||||||
pub struct GetAuthorization {
|
pub struct GetAuthorization {
|
||||||
//order: OrderData,
|
//order: OrderData,
|
||||||
|
|
||||||
/// The request to send to the ACME provider. This is wrapped in an option in order to allow
|
/// The request to send to the ACME provider. This is wrapped in an option in order to allow
|
||||||
/// moving it out instead of copying the contents.
|
/// moving it out instead of copying the contents.
|
||||||
///
|
///
|
||||||
|
@ -155,7 +155,6 @@ impl Order {
|
|||||||
/// This is created via [`Account::new_order`](crate::Account::new_order()).
|
/// This is created via [`Account::new_order`](crate::Account::new_order()).
|
||||||
pub struct NewOrder {
|
pub struct NewOrder {
|
||||||
//order: OrderData,
|
//order: OrderData,
|
||||||
|
|
||||||
/// The request to execute to place the order. When creating a [`NewOrder`] via
|
/// The request to execute to place the order. When creating a [`NewOrder`] via
|
||||||
/// [`Account::new_order`](crate::Account::new_order) this is guaranteed to be `Some`.
|
/// [`Account::new_order`](crate::Account::new_order) this is guaranteed to be `Some`.
|
||||||
pub request: Option<Request>,
|
pub request: Option<Request>,
|
||||||
|
Loading…
Reference in New Issue
Block a user