#[non_exhaustive]pub struct ChallengeInfo {
pub challenge_type: ChallengeType,
pub token: Option<String>,
pub key_authorization: Option<String>,
pub http_path: Option<String>,
pub dns_record: Option<DnsRecordDetails>,
pub expires_at: Option<DateTime<Utc>>,
}Expand description
ACME challenge information.
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.challenge_type: ChallengeTypeChallenge type.
token: Option<String>Challenge token.
Key authorization string.
http_path: Option<String>HTTP path for HTTP-01 challenge.
dns_record: Option<DnsRecordDetails>DNS record for DNS-01 challenge.
expires_at: Option<DateTime<Utc>>Challenge expiration.
Trait Implementations§
Source§impl Clone for ChallengeInfo
impl Clone for ChallengeInfo
Source§fn clone(&self) -> ChallengeInfo
fn clone(&self) -> ChallengeInfo
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 ChallengeInfo
impl Debug for ChallengeInfo
Source§impl<'de> Deserialize<'de> for ChallengeInfo
impl<'de> Deserialize<'de> for ChallengeInfo
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 ChallengeInfo
impl RefUnwindSafe for ChallengeInfo
impl Send for ChallengeInfo
impl Sync for ChallengeInfo
impl Unpin for ChallengeInfo
impl UnsafeUnpin for ChallengeInfo
impl UnwindSafe for ChallengeInfo
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