pub struct Challenge {
pub realm: Box<str>,
pub charset: Option<Box<str>>,
}
Fields§
§realm: Box<str>
§charset: Option<Box<str>>
Implementations§
Trait Implementations§
Source§impl TryFrom<&ChallengeRef<'_>> for Challenge
impl TryFrom<&ChallengeRef<'_>> for Challenge
Source§type Error = ChallengeParseError
type Error = ChallengeParseError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for Challenge
impl RefUnwindSafe for Challenge
impl Send for Challenge
impl Sync for Challenge
impl Unpin for Challenge
impl UnwindSafe for Challenge
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