Skip to main content

UserProfile

Struct UserProfile 

Source
pub struct UserProfile {
Show 72 fields pub id: usize, pub first_name: String, pub last_name: String, pub can_access_closed: bool, pub is_closed: bool, pub about: Option<String>, pub activities: Option<String>, pub bdate: Option<String>, pub blacklisted: Option<usize>, pub blacklisted_by_me: Option<usize>, pub photo_50: Option<String>, pub books: Option<String>, pub can_be_invited_group: Option<bool>, pub can_post: Option<usize>, pub can_see_all_posts: Option<usize>, pub can_see_audio: Option<usize>, pub can_send_friend_request: Option<usize>, pub can_write_private_message: Option<usize>, pub career: Option<Vec<Career>>, pub common_count: Option<usize>, pub connections: Option<String>, pub mobile_phone: Option<String>, pub home_phone: Option<String>, pub city: Option<City>, pub country: Option<Country>, pub crop_photo: Option<Crop>, pub domain: Option<String>, pub university: Option<usize>, pub university_name: Option<String>, pub faculty: Option<usize>, pub faculty_name: Option<String>, pub graduation: Option<usize>, pub exports: Option<String>, pub followers_count: Option<usize>, pub friend_status: Option<usize>, pub has_photo: Option<usize>, pub has_mobile: Option<usize>, pub home_town: Option<String>, pub photo_100: Option<String>, pub photo_200: Option<String>, pub photo_200_orig: Option<String>, pub photo_400_orig: Option<String>, pub sex: Option<usize>, pub site: Option<String>, pub schools: Option<Vec<School>>, pub screen_name: Option<String>, pub status: Option<String>, pub verified: Option<usize>, pub games: Option<String>, pub interests: Option<String>, pub is_favorite: Option<usize>, pub is_friend: Option<usize>, pub is_hidden_from_feed: Option<usize>, pub last_seen: Option<LastSeen>, pub maiden_name: Option<String>, pub military: Option<Vec<Military>>, pub movies: Option<String>, pub music: Option<String>, pub nickname: Option<String>, pub occupation: Option<Occupation>, pub online: Option<usize>, pub personal: Option<Personal>, pub photo_id: Option<String>, pub photo_max: Option<String>, pub photo_max_orig: Option<String>, pub quotes: Option<String>, pub relation: Option<usize>, pub relation_partner: Option<RelationPartner>, pub relatives: Option<Vec<Relatives>>, pub timezone: Option<usize>, pub tv: Option<String>, pub universities: Option<Vec<Universities>>,
}

Fields§

§id: usize§first_name: String§last_name: String§can_access_closed: bool§is_closed: bool§about: Option<String>§activities: Option<String>§bdate: Option<String>§blacklisted: Option<usize>§blacklisted_by_me: Option<usize>§photo_50: Option<String>§books: Option<String>§can_be_invited_group: Option<bool>§can_post: Option<usize>§can_see_all_posts: Option<usize>§can_see_audio: Option<usize>§can_send_friend_request: Option<usize>§can_write_private_message: Option<usize>§career: Option<Vec<Career>>§common_count: Option<usize>§connections: Option<String>§mobile_phone: Option<String>§home_phone: Option<String>§city: Option<City>§country: Option<Country>§crop_photo: Option<Crop>§domain: Option<String>§university: Option<usize>§university_name: Option<String>§faculty: Option<usize>§faculty_name: Option<String>§graduation: Option<usize>§exports: Option<String>§followers_count: Option<usize>§friend_status: Option<usize>§has_photo: Option<usize>§has_mobile: Option<usize>§home_town: Option<String>§photo_100: Option<String>§photo_200: Option<String>§photo_200_orig: Option<String>§photo_400_orig: Option<String>§sex: Option<usize>§site: Option<String>§schools: Option<Vec<School>>§screen_name: Option<String>§status: Option<String>§verified: Option<usize>§games: Option<String>§interests: Option<String>§is_favorite: Option<usize>§is_friend: Option<usize>§is_hidden_from_feed: Option<usize>§last_seen: Option<LastSeen>§maiden_name: Option<String>§military: Option<Vec<Military>>§movies: Option<String>§music: Option<String>§nickname: Option<String>§occupation: Option<Occupation>§online: Option<usize>§personal: Option<Personal>§photo_id: Option<String>§photo_max: Option<String>§photo_max_orig: Option<String>§quotes: Option<String>§relation: Option<usize>§relation_partner: Option<RelationPartner>§relatives: Option<Vec<Relatives>>§timezone: Option<usize>§tv: Option<String>§universities: Option<Vec<Universities>>

Trait Implementations§

Source§

impl Debug for UserProfile

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for UserProfile

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for UserProfile

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more