pub struct AppserviceTokenOptional;
Available on crate feature
api
only.Expand description
No authentication is performed for clients, but it can be performed for appservices, by
including an appservice 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 AppserviceTokenOptional
impl AuthScheme for AppserviceTokenOptional
The
Authorization
HTTP header to add to an outgoing request with this scheme. Read moreSource§impl Clone for AppserviceTokenOptional
impl Clone for AppserviceTokenOptional
Source§fn clone(&self) -> AppserviceTokenOptional
fn clone(&self) -> AppserviceTokenOptional
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 AppserviceTokenOptional
impl Debug for AppserviceTokenOptional
Source§impl Default for AppserviceTokenOptional
impl Default for AppserviceTokenOptional
Source§fn default() -> AppserviceTokenOptional
fn default() -> AppserviceTokenOptional
Returns the “default value” for a type. Read more
impl Copy for AppserviceTokenOptional
Auto Trait Implementations§
impl Freeze for AppserviceTokenOptional
impl RefUnwindSafe for AppserviceTokenOptional
impl Send for AppserviceTokenOptional
impl Sync for AppserviceTokenOptional
impl Unpin for AppserviceTokenOptional
impl UnwindSafe for AppserviceTokenOptional
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