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