Struct actix_web_httpauth::headers::www_authenticate::bearer::BearerBuilder
source · pub struct BearerBuilder(/* private fields */);
Expand description
Implementations§
source§impl BearerBuilder
impl BearerBuilder
sourcepub fn scope<T>(self, value: T) -> Self
pub fn scope<T>(self, value: T) -> Self
Provides the scope
attribute, as defined in RFC 6749 §3.3.
sourcepub fn error(self, value: Error) -> Self
pub fn error(self, value: Error) -> Self
Provides the error
attribute, as defined in [RFC 6750, Section 3.1].
sourcepub fn error_description<T>(self, value: T) -> Self
pub fn error_description<T>(self, value: T) -> Self
Provides the error_description
attribute, as defined in [RFC 6750, Section 3].
Trait Implementations§
source§impl Debug for BearerBuilder
impl Debug for BearerBuilder
source§impl Default for BearerBuilder
impl Default for BearerBuilder
source§fn default() -> BearerBuilder
fn default() -> BearerBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl RefUnwindSafe for BearerBuilder
impl Send for BearerBuilder
impl Sync for BearerBuilder
impl Unpin for BearerBuilder
impl UnwindSafe for BearerBuilder
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