pub struct AccessTokenOptional;
Available on crate feature
api
only.Expand description
Authentication is optional, and it is performed by including an access token in the
Authentication
http header, or an access_token
query parameter.
Using the query parameter is deprecated since Matrix 1.11.
Trait Implementations§
Source§impl AuthScheme for AccessTokenOptional
impl AuthScheme for AccessTokenOptional
The
Authorization
HTTP header to add to an outgoing request with this scheme. Read moreSource§impl Clone for AccessTokenOptional
impl Clone for AccessTokenOptional
Source§fn clone(&self) -> AccessTokenOptional
fn clone(&self) -> AccessTokenOptional
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 AccessTokenOptional
impl Debug for AccessTokenOptional
Source§impl Default for AccessTokenOptional
impl Default for AccessTokenOptional
Source§fn default() -> AccessTokenOptional
fn default() -> AccessTokenOptional
Returns the “default value” for a type. Read more
impl Copy for AccessTokenOptional
Auto Trait Implementations§
impl Freeze for AccessTokenOptional
impl RefUnwindSafe for AccessTokenOptional
impl Send for AccessTokenOptional
impl Sync for AccessTokenOptional
impl Unpin for AccessTokenOptional
impl UnwindSafe for AccessTokenOptional
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