pub struct SocialUser {Show 23 fields
pub id: String,
pub username: String,
pub first_name: Option<String>,
pub last_name: Option<String>,
pub gender: Gender,
pub is_public_profile: Option<bool>,
pub followers: Vec<String>,
pub following: Vec<String>,
pub email: String,
pub birthday: Option<DateTime<Utc>>,
pub location: Option<UserLocation>,
pub avatar: Option<String>,
pub avatar_screenshot: Option<String>,
pub user_image: Option<String>,
pub glb_url: Option<String>,
pub description: Option<String>,
pub social_media: Option<HashMap<String, String>>,
pub preferences: Vec<String>,
pub blocked_users: Vec<String>,
pub rpm_avatar_id: Option<String>,
pub rpm_user_id: Option<String>,
pub paid_price_id: Option<String>,
pub created_at: DateTime<Utc>,
}
Expand description
SocialUser represents the social user model.
Fields§
§id: String
§username: String
§first_name: Option<String>
§last_name: Option<String>
§gender: Gender
§is_public_profile: Option<bool>
§followers: Vec<String>
§following: Vec<String>
§email: String
§birthday: Option<DateTime<Utc>>
§location: Option<UserLocation>
§avatar: Option<String>
§avatar_screenshot: Option<String>
§user_image: Option<String>
§glb_url: Option<String>
§description: Option<String>
§preferences: Vec<String>
§blocked_users: Vec<String>
§rpm_avatar_id: Option<String>
§rpm_user_id: Option<String>
§paid_price_id: Option<String>
§created_at: DateTime<Utc>
Trait Implementations§
Source§impl Clone for SocialUser
impl Clone for SocialUser
Source§fn clone(&self) -> SocialUser
fn clone(&self) -> SocialUser
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 SocialUser
impl Debug for SocialUser
Source§impl<'de> Deserialize<'de> for SocialUser
impl<'de> Deserialize<'de> for SocialUser
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 SocialUser
impl RefUnwindSafe for SocialUser
impl Send for SocialUser
impl Sync for SocialUser
impl Unpin for SocialUser
impl UnwindSafe for SocialUser
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