Struct talk_api_internal::credential::Credential
source · pub struct Credential<'a> {
pub device_uuid: &'a str,
pub access_token: &'a str,
}
Fields§
§device_uuid: &'a str
§access_token: &'a str
Trait Implementations§
source§impl<'a> Clone for Credential<'a>
impl<'a> Clone for Credential<'a>
source§fn clone(&self) -> Credential<'a>
fn clone(&self) -> Credential<'a>
Returns a copy 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<'a> Debug for Credential<'a>
impl<'a> Debug for Credential<'a>
source§impl<'a> PartialEq for Credential<'a>
impl<'a> PartialEq for Credential<'a>
source§fn eq(&self, other: &Credential<'a>) -> bool
fn eq(&self, other: &Credential<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl<'a> Copy for Credential<'a>
impl<'a> Eq for Credential<'a>
impl<'a> StructuralEq for Credential<'a>
impl<'a> StructuralPartialEq for Credential<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Credential<'a>
impl<'a> Send for Credential<'a>
impl<'a> Sync for Credential<'a>
impl<'a> Unpin for Credential<'a>
impl<'a> UnwindSafe for Credential<'a>
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.