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§type Input<'a> = SendAccessToken<'a>
type Input<'a> = SendAccessToken<'a>
The input necessary to generate the authentication.
Source§fn add_authentication<T: AsRef<[u8]>>(
request: &mut Request<T>,
access_token: SendAccessToken<'_>,
) -> Result<(), IntoHttpError>
fn add_authentication<T: AsRef<[u8]>>( request: &mut Request<T>, access_token: SendAccessToken<'_>, ) -> Result<(), IntoHttpError>
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