pub struct AuthChallenge { /* private fields */ }Implementations§
Source§impl AuthChallenge
impl AuthChallenge
pub fn new() -> Self
pub fn with_http01( self, token: impl Into<String>, challenge: impl Into<String>, ) -> Self
pub fn with_tls_alpn01(self, challenge: impl Into<String>) -> Self
pub fn add_http01( &mut self, token: impl Into<String>, challenge: impl Into<String>, )
pub fn add_tls_alpn01(&mut self, challenge: impl Into<String>)
pub fn http01_challenge(&self) -> Option<(&str, &str)>
pub fn tls_alpn01_challenge(&self) -> Option<&str>
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Clone for AuthChallenge
impl Clone for AuthChallenge
Source§fn clone(&self) -> AuthChallenge
fn clone(&self) -> AuthChallenge
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 AuthChallenge
impl Debug for AuthChallenge
Source§impl Default for AuthChallenge
impl Default for AuthChallenge
Source§fn default() -> AuthChallenge
fn default() -> AuthChallenge
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AuthChallenge
impl<'de> Deserialize<'de> for AuthChallenge
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 AuthChallenge
impl RefUnwindSafe for AuthChallenge
impl Send for AuthChallenge
impl Sync for AuthChallenge
impl Unpin for AuthChallenge
impl UnwindSafe for AuthChallenge
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