Struct ruma_client_api::session::login::v3::ApplicationService
source · [−]pub struct ApplicationService<'a> {
pub identifier: UserIdentifier<'a>,
}Available on crate features
client or server only.Expand description
An identifier to supply for Application Service authentication.
Fields
identifier: UserIdentifier<'a>Identification information for the user.
Implementations
sourceimpl<'a> ApplicationService<'a>
impl<'a> ApplicationService<'a>
sourcepub fn new(identifier: UserIdentifier<'a>) -> Self
pub fn new(identifier: UserIdentifier<'a>) -> Self
Creates a new ApplicationService with the given identifier.
Trait Implementations
sourceimpl<'a> Clone for ApplicationService<'a>
impl<'a> Clone for ApplicationService<'a>
sourcefn clone(&self) -> ApplicationService<'a>
fn clone(&self) -> ApplicationService<'a>
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl<'a> Debug for ApplicationService<'a>
impl<'a> Debug for ApplicationService<'a>
sourceimpl<'a> Serialize for ApplicationService<'a>
impl<'a> Serialize for ApplicationService<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for ApplicationService<'a>
impl<'a> Send for ApplicationService<'a>
impl<'a> Sync for ApplicationService<'a>
impl<'a> Unpin for ApplicationService<'a>
impl<'a> UnwindSafe for ApplicationService<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more