pub struct ProfileInfo {
pub id_tag: String,
pub name: String,
pub type: Option<String>,
pub profile_pic: Option<String>,
pub status: Option<String>,
pub connected: Option<bool>,
pub following: Option<bool>,
pub roles: Option<Vec<String>>,
pub created_at: Option<Timestamp>,
}Expand description
Profile information response
Fields§
§id_tag: String§name: String§type: Option<String>§profile_pic: Option<String>§status: Option<String>§connected: Option<bool>§following: Option<bool>§roles: Option<Vec<String>>§created_at: Option<Timestamp>Trait Implementations§
Source§impl Clone for ProfileInfo
impl Clone for ProfileInfo
Source§fn clone(&self) -> ProfileInfo
fn clone(&self) -> ProfileInfo
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 ProfileInfo
impl Debug for ProfileInfo
Source§impl<'de> Deserialize<'de> for ProfileInfo
impl<'de> Deserialize<'de> for ProfileInfo
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 ProfileInfo
impl RefUnwindSafe for ProfileInfo
impl Send for ProfileInfo
impl Sync for ProfileInfo
impl Unpin for ProfileInfo
impl UnsafeUnpin for ProfileInfo
impl UnwindSafe for ProfileInfo
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