pub struct BearerOptions {
pub require_signature: bool,
}Expand description
Options for bearer token authentication.
Fields§
§require_signature: boolRequire bearer tokens to already be signed session-cookie values.
Trait Implementations§
Source§impl Clone for BearerOptions
impl Clone for BearerOptions
Source§fn clone(&self) -> BearerOptions
fn clone(&self) -> BearerOptions
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 Debug for BearerOptions
impl Debug for BearerOptions
Source§impl Default for BearerOptions
impl Default for BearerOptions
Source§fn default() -> BearerOptions
fn default() -> BearerOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for BearerOptions
impl PartialEq for BearerOptions
Source§fn eq(&self, other: &BearerOptions) -> bool
fn eq(&self, other: &BearerOptions) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for BearerOptions
impl Eq for BearerOptions
impl StructuralPartialEq for BearerOptions
Auto Trait Implementations§
impl Freeze for BearerOptions
impl RefUnwindSafe for BearerOptions
impl Send for BearerOptions
impl Sync for BearerOptions
impl Unpin for BearerOptions
impl UnsafeUnpin for BearerOptions
impl UnwindSafe for BearerOptions
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.