pub struct Directory {
pub new_nonce: String,
pub new_account: String,
pub new_order: String,
pub new_authz: Option<String>,
pub revoke_cert: String,
pub key_change: String,
pub meta: Option<DirectoryMeta>,
}Expand description
Directory object for ACME client self-configuration.
See RFC 8555 §7.1.1.
§Example JSON
{
"newNonce": "https://example.com/acme/new-nonce",
"newAccount": "https://example.com/acme/new-account",
"newOrder": "https://example.com/acme/new-order",
"newAuthz": "https://example.com/acme/new-authz",
"revokeCert": "https://example.com/acme/revoke-cert",
"keyChange": "https://example.com/acme/key-change",
"meta": {
"termsOfService": "https://example.com/acme/terms/2017-5-30",
"website": "https://www.example.com/",
"caaIdentities": ["example.com"],
"externalAccountRequired": false
}
}Fields§
§new_nonce: StringURL for new nonce requests.
new_account: StringURL for new account requests.
new_order: StringURL for new order requests.
new_authz: Option<String>URL for new authorization requests.
If the ACME server does not implement pre-authorization, it MUST omit the newAuthz field
of the directory.
revoke_cert: StringURL for certificate revocation requests.
key_change: StringURL for key change requests.
meta: Option<DirectoryMeta>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Directory
impl<'de> Deserialize<'de> for Directory
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 Eq for Directory
impl StructuralPartialEq for Directory
Auto Trait Implementations§
impl Freeze for Directory
impl RefUnwindSafe for Directory
impl Send for Directory
impl Sync for Directory
impl Unpin for Directory
impl UnsafeUnpin for Directory
impl UnwindSafe for Directory
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