pub struct Authenticate {
pub realm: Option<String>,
pub scope: Option<Scope>,
}Expand description
Additional information provided for the WWW-Authenticate header.
Fields§
§realm: Option<String>Information about which realm the credentials correspond to.
scope: Option<Scope>The required scope to access the resource.
Trait Implementations§
Source§impl Clone for Authenticate
impl Clone for Authenticate
Source§fn clone(&self) -> Authenticate
fn clone(&self) -> Authenticate
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 moreAuto Trait Implementations§
impl Freeze for Authenticate
impl RefUnwindSafe for Authenticate
impl Send for Authenticate
impl Sync for Authenticate
impl Unpin for Authenticate
impl UnwindSafe for Authenticate
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