pub struct NoAuthentication;Available on crate feature 
api only.Expand description
No authentication is performed.
This type accepts a SendAccessToken as input to be able to send it regardless of whether it
is required.
Trait Implementations§
Source§impl AuthScheme for NoAuthentication
 
impl AuthScheme for NoAuthentication
Source§fn extract_authentication<T>(
    _request: &Request<T>,
) -> Result<(), <NoAuthentication as AuthScheme>::ExtractAuthenticationError>
 
fn extract_authentication<T>( _request: &Request<T>, ) -> Result<(), <NoAuthentication as AuthScheme>::ExtractAuthenticationError>
Since this endpoint doesn’t expect any authentication, this is a noop.
Source§type Input<'a> = SendAccessToken<'a>
 
type Input<'a> = SendAccessToken<'a>
The input necessary to generate the authentication.
Source§type AddAuthenticationError = InvalidHeaderValue
 
type AddAuthenticationError = InvalidHeaderValue
The error type returned from 
add_authentication().Source§type ExtractAuthenticationError = Infallible
 
type ExtractAuthenticationError = Infallible
The error type returned from 
extract_authentication().Source§fn add_authentication<T>(
    request: &mut Request<T>,
    access_token: SendAccessToken<'_>,
) -> Result<(), <NoAuthentication as AuthScheme>::AddAuthenticationError>
 
fn add_authentication<T>( request: &mut Request<T>, access_token: SendAccessToken<'_>, ) -> Result<(), <NoAuthentication as AuthScheme>::AddAuthenticationError>
Add this authentication scheme to the given outgoing request, if necessary. Read more
Source§impl Clone for NoAuthentication
 
impl Clone for NoAuthentication
Source§fn clone(&self) -> NoAuthentication
 
fn clone(&self) -> NoAuthentication
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 NoAuthentication
 
impl Debug for NoAuthentication
Source§impl Default for NoAuthentication
 
impl Default for NoAuthentication
Source§fn default() -> NoAuthentication
 
fn default() -> NoAuthentication
Returns the “default value” for a type. Read more
impl Copy for NoAuthentication
Auto Trait Implementations§
impl Freeze for NoAuthentication
impl RefUnwindSafe for NoAuthentication
impl Send for NoAuthentication
impl Sync for NoAuthentication
impl Unpin for NoAuthentication
impl UnwindSafe for NoAuthentication
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