#[non_exhaustive]pub struct AuthorizationState {
pub status: AuthorizationStatus,
pub challenges: Vec<Challenge>,
pub wildcard: bool,
/* private fields */
}
Expand description
An ACME authorization’s state as described in RFC 8555 (section 7.1.4)
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.status: AuthorizationStatus
Current state of the authorization
challenges: Vec<Challenge>
Possible challenges for the authorization
wildcard: bool
Whether the identifier represents a wildcard domain name
Implementations§
Source§impl AuthorizationState
impl AuthorizationState
Sourcepub fn identifier(&self) -> AuthorizedIdentifier<'_>
pub fn identifier(&self) -> AuthorizedIdentifier<'_>
Creates an AuthorizedIdentifier
for the identifier in this authorization
Trait Implementations§
Source§impl Debug for AuthorizationState
impl Debug for AuthorizationState
Source§impl<'de> Deserialize<'de> for AuthorizationState
impl<'de> Deserialize<'de> for AuthorizationState
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
Auto Trait Implementations§
impl Freeze for AuthorizationState
impl RefUnwindSafe for AuthorizationState
impl Send for AuthorizationState
impl Sync for AuthorizationState
impl Unpin for AuthorizationState
impl UnwindSafe for AuthorizationState
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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