pub struct UserProfileView {
pub id: String,
pub username: String,
pub bio: Option<String>,
pub join_date: String,
pub follower_count: usize,
pub following_count: usize,
pub post_count: usize,
pub relationship: RelationshipStatus,
}Fields§
§id: String§username: String§bio: Option<String>§join_date: String§follower_count: usize§following_count: usize§post_count: usize§relationship: RelationshipStatusTrait Implementations§
Source§impl Clone for UserProfileView
impl Clone for UserProfileView
Source§fn clone(&self) -> UserProfileView
fn clone(&self) -> UserProfileView
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 UserProfileView
impl Debug for UserProfileView
Source§impl<'de> Deserialize<'de> for UserProfileView
impl<'de> Deserialize<'de> for UserProfileView
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 UserProfileView
impl RefUnwindSafe for UserProfileView
impl Send for UserProfileView
impl Sync for UserProfileView
impl Unpin for UserProfileView
impl UnwindSafe for UserProfileView
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