pub struct AuthChallengeResponse<'a> { /* private fields */ }Expand description
Response to an AuthChallenge.
Implementations§
Source§impl<'a> AuthChallengeResponse<'a>
impl<'a> AuthChallengeResponse<'a>
Sourcepub fn builder(
response: impl Into<Cow<'a, str>>,
) -> AuthChallengeResponseBuilder<'a>
pub fn builder( response: impl Into<Cow<'a, str>>, ) -> AuthChallengeResponseBuilder<'a>
Creates a builder for this type with the required parameters:
response: The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
Sourcepub fn response(&self) -> &str
pub fn response(&self) -> &str
The decision on what to do in response to the authorization challenge. Default means deferring to the default behavior of the net stack, which will likely either the Cancel authentication or display a popup dialog box.
Trait Implementations§
Source§impl<'a> Clone for AuthChallengeResponse<'a>
impl<'a> Clone for AuthChallengeResponse<'a>
Source§fn clone(&self) -> AuthChallengeResponse<'a>
fn clone(&self) -> AuthChallengeResponse<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<'a> Debug for AuthChallengeResponse<'a>
impl<'a> Debug for AuthChallengeResponse<'a>
Source§impl<'a> Default for AuthChallengeResponse<'a>
impl<'a> Default for AuthChallengeResponse<'a>
Source§fn default() -> AuthChallengeResponse<'a>
fn default() -> AuthChallengeResponse<'a>
Returns the “default value” for a type. Read more
Source§impl<'de, 'a> Deserialize<'de> for AuthChallengeResponse<'a>
impl<'de, 'a> Deserialize<'de> for AuthChallengeResponse<'a>
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<'a> Freeze for AuthChallengeResponse<'a>
impl<'a> RefUnwindSafe for AuthChallengeResponse<'a>
impl<'a> Send for AuthChallengeResponse<'a>
impl<'a> Sync for AuthChallengeResponse<'a>
impl<'a> Unpin for AuthChallengeResponse<'a>
impl<'a> UnsafeUnpin for AuthChallengeResponse<'a>
impl<'a> UnwindSafe for AuthChallengeResponse<'a>
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