pub struct ApplicationService<'a> {
pub identifier: UserIdentifier<'a>,
}
Available on (crate features
client-api-c
or client-api-s
) and (crate features client
or server
) and crate feature api
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>) -> ApplicationService<'a>
pub fn new(identifier: UserIdentifier<'a>) -> ApplicationService<'a>
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 · sourcefn clone_from(&mut self, source: &Self)
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>
sourcefn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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