pub struct ContactResponse {
pub id: String,
pub display_name: String,
pub four_words: Option<String>,
pub is_favourite: bool,
pub is_online: bool,
pub created_at: i64,
pub last_seen: Option<i64>,
}Expand description
Contact response data
Fields§
§id: String§display_name: String§four_words: Option<String>§is_favourite: bool§is_online: bool§created_at: i64§last_seen: Option<i64>Trait Implementations§
Source§impl Clone for ContactResponse
impl Clone for ContactResponse
Source§fn clone(&self) -> ContactResponse
fn clone(&self) -> ContactResponse
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 ContactResponse
impl Debug for ContactResponse
Source§impl<'de> Deserialize<'de> for ContactResponse
impl<'de> Deserialize<'de> for ContactResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ContactResponse
impl RefUnwindSafe for ContactResponse
impl Send for ContactResponse
impl Sync for ContactResponse
impl Unpin for ContactResponse
impl UnwindSafe for ContactResponse
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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