pub struct AcmeAccount {
pub status: AcmeAccountStatus,
pub orders: Option<Url>,
}Expand description
Account creation response see RFC 8555 Section 7.3
Fields§
§status: AcmeAccountStatus§orders: Option<Url>Implementations§
Source§impl AcmeAccount
impl AcmeAccount
Sourcepub fn acct_url(&self) -> RustyAcmeResult<Url>
pub fn acct_url(&self) -> RustyAcmeResult<Url>
Infers the account url used in almost all AcmeJws kid. To do so, trims the last segment from the ‘orders’ URL
Trait Implementations§
Source§impl Clone for AcmeAccount
impl Clone for AcmeAccount
Source§fn clone(&self) -> AcmeAccount
fn clone(&self) -> AcmeAccount
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AcmeAccount
impl Debug for AcmeAccount
Source§impl<'de> Deserialize<'de> for AcmeAccount
impl<'de> Deserialize<'de> for AcmeAccount
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
Source§impl PartialEq for AcmeAccount
impl PartialEq for AcmeAccount
Source§impl Serialize for AcmeAccount
impl Serialize for AcmeAccount
Source§impl TryFrom<AcmeAccount> for E2eiAcmeAccount
impl TryFrom<AcmeAccount> for E2eiAcmeAccount
Source§type Error = E2eIdentityError
type Error = E2eIdentityError
The type returned in the event of a conversion error.
Source§fn try_from(account: AcmeAccount) -> E2eIdentityResult<Self>
fn try_from(account: AcmeAccount) -> E2eIdentityResult<Self>
Performs the conversion.
Source§impl TryFrom<E2eiAcmeAccount> for AcmeAccount
impl TryFrom<E2eiAcmeAccount> for AcmeAccount
Source§type Error = E2eIdentityError
type Error = E2eIdentityError
The type returned in the event of a conversion error.
Source§fn try_from(account: E2eiAcmeAccount) -> E2eIdentityResult<Self>
fn try_from(account: E2eiAcmeAccount) -> E2eIdentityResult<Self>
Performs the conversion.
impl Eq for AcmeAccount
impl StructuralPartialEq for AcmeAccount
Auto Trait Implementations§
impl Freeze for AcmeAccount
impl RefUnwindSafe for AcmeAccount
impl Send for AcmeAccount
impl Sync for AcmeAccount
impl Unpin for AcmeAccount
impl UnwindSafe for AcmeAccount
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