pub enum AuthTarget {
Origin,
Proxy,
}Expand description
Indicates which authentication space a challenge belongs to.
Variants§
Origin
Origin server authentication (WWW-Authenticate / Authorization).
Proxy
Proxy authentication (Proxy-Authenticate / Proxy-Authorization).
Trait Implementations§
Source§impl Clone for AuthTarget
impl Clone for AuthTarget
Source§fn clone(&self) -> AuthTarget
fn clone(&self) -> AuthTarget
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 AuthTarget
impl Debug for AuthTarget
Source§impl PartialEq for AuthTarget
impl PartialEq for AuthTarget
impl Copy for AuthTarget
impl Eq for AuthTarget
impl StructuralPartialEq for AuthTarget
Auto Trait Implementations§
impl Freeze for AuthTarget
impl RefUnwindSafe for AuthTarget
impl Send for AuthTarget
impl Sync for AuthTarget
impl Unpin for AuthTarget
impl UnsafeUnpin for AuthTarget
impl UnwindSafe for AuthTarget
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