PersonEndpointResponse

Struct PersonEndpointResponse 

Source
pub struct PersonEndpointResponse {
Show 44 fields pub public_identifier: Option<Option<String>>, pub profile_pic_url: Option<Option<String>>, pub background_cover_image_url: Option<Option<String>>, pub first_name: Option<Option<String>>, pub last_name: Option<Option<String>>, pub full_name: Option<Option<String>>, pub follower_count: Option<i32>, pub occupation: Option<Option<String>>, pub headline: Option<Option<String>>, pub summary: Option<Option<String>>, pub country: Option<Option<String>>, pub country_full_name: Option<Option<String>>, pub city: Option<Option<String>>, pub state: Option<Option<String>>, pub experiences: Option<Vec<Experience>>, pub education: Option<Vec<Education>>, pub languages: Option<Vec<String>>, pub accomplishment_organisations: Option<Vec<AccomplishmentOrg>>, pub accomplishment_publications: Option<Vec<Publication>>, pub accomplishment_honors_awards: Option<Vec<HonourAward>>, pub accomplishment_patents: Option<Vec<Patent>>, pub accomplishment_courses: Option<Vec<Course>>, pub accomplishment_projects: Option<Vec<Project>>, pub accomplishment_test_scores: Option<Vec<TestScore>>, pub volunteer_work: Option<Vec<VolunteeringExperience>>, pub certifications: Option<Vec<Certification>>, pub connections: Option<Option<i32>>, pub people_also_viewed: Option<Vec<PeopleAlsoViewed>>, pub recommendations: Option<Vec<String>>, pub activities: Option<Vec<Activity>>, pub similarly_named_profiles: Option<Vec<SimilarProfile>>, pub articles: Option<Vec<Article>>, pub groups: Option<Vec<PersonGroup>>, pub phone_numbers: Option<Vec<String>>, pub social_networking_services: Option<Vec<PersonSocialNetworkingService>>, pub skills: Option<Vec<String>>, pub inferred_salary: Option<Box<InferredSalary>>, pub gender: Option<Option<String>>, pub birth_date: Option<Box<Date>>, pub industry: Option<Option<String>>, pub extra: Option<Box<PersonExtra>>, pub interests: Option<Vec<String>>, pub personal_emails: Option<Vec<String>>, pub personal_numbers: Option<Vec<String>>,
}

Fields§

§public_identifier: Option<Option<String>>

The vanity identifier of the public LinkedIn profile. The vanity identifier comes after the /in/ part of the LinkedIn Profile URL in the following format: https://www.linkedin.com/in/<public_identifier>

§profile_pic_url: Option<Option<String>>

A temporary link to the user’s profile picture that is valid for 30 minutes. The temporal nature of the link is by design to prevent having Proxycurl be the mirror for the images. The developer is expected to handle these images by downloading the image and re-hosting the image. See this post for context. Some profile pictures might be of the standard LinkedIn’s profile picture placeholder. It is so because. See this post for context.

§background_cover_image_url: Option<Option<String>>

A temporary link to the user’s background cover picture that is valid for 30 minutes. The temporal nature of the link is by design to prevent having Proxycurl be the mirror for the images. The developer is expected to handle these images by downloading the image and re-hosting the image. See this post for context.

§first_name: Option<Option<String>>

First name of the user.

§last_name: Option<Option<String>>

Last name of the user.

§full_name: Option<Option<String>>

Full name of the user (first_name + last_name)

§follower_count: Option<i32>

Follower count for this profile

§occupation: Option<Option<String>>

The title and company name of the user’s current employment.

§headline: Option<Option<String>>

The tagline written by the user for his profile.

§summary: Option<Option<String>>

A blurb (longer than the tagline) written by the user for his profile.

§country: Option<Option<String>>

The user’s country of residence depicted by a 2-letter country code (ISO 3166-1 alpha-2).

§country_full_name: Option<Option<String>>

The user’s country of residence, in English words.

§city: Option<Option<String>>

The city that the user is living at.

§state: Option<Option<String>>

The state that the user is living at.

§experiences: Option<Vec<Experience>>

The user’s list of historic work experiences.

§education: Option<Vec<Education>>

The user’s list of education background.

§languages: Option<Vec<String>>

A list of languages that the user claims to be familiar with, and has added to his/her profile. Do note that we do not have the proficiency level as that data point is not available on a public LinkedIn profile.

§accomplishment_organisations: Option<Vec<AccomplishmentOrg>>

List of noteworthy organizations that this user is part of.

§accomplishment_publications: Option<Vec<Publication>>

List of noteworthy publications that this user has partook in.

§accomplishment_honors_awards: Option<Vec<HonourAward>>

List of noteworthy honours and awards that this user has won.

§accomplishment_patents: Option<Vec<Patent>>

List of noteworthy patents won by this user.

§accomplishment_courses: Option<Vec<Course>>

List of noteworthy courses partook by this user.

§accomplishment_projects: Option<Vec<Project>>

List of noteworthy projects undertaken by this user.

§accomplishment_test_scores: Option<Vec<TestScore>>

List of noteworthy test scores accomplished by this user.

§volunteer_work: Option<Vec<VolunteeringExperience>>

List of historic volunteer work experiences.

§certifications: Option<Vec<Certification>>

List of noteworthy certifications accomplished by this user.

§connections: Option<Option<i32>>

Total count of LinkedIn connections.

§people_also_viewed: Option<Vec<PeopleAlsoViewed>>

A list of other LinkedIn profiles closely related to this user.

§recommendations: Option<Vec<String>>

List of recommendations made by other users about this profile.

§activities: Option<Vec<Activity>>

A list of LinkedIn status activities.

§similarly_named_profiles: Option<Vec<SimilarProfile>>

A list of other LinkedIn profiles with similar names.

§articles: Option<Vec<Article>>

A list of content-based articles posted by this user.

§groups: Option<Vec<PersonGroup>>

A list of LinkedIn groups that this user is a part of.",

§phone_numbers: Option<Vec<String>>§social_networking_services: Option<Vec<PersonSocialNetworkingService>>§skills: Option<Vec<String>>

A list of keyword-based skills that this user boasts of on his LinkedIn profile.

§inferred_salary: Option<Box<InferredSalary>>§gender: Option<Option<String>>

Gender of the user.

§birth_date: Option<Box<Date>>§industry: Option<Option<String>>

Industry that the user works in.

§extra: Option<Box<PersonExtra>>§interests: Option<Vec<String>>

A list of interests that the user has.

§personal_emails: Option<Vec<String>>

A list of personal emails associated with this user.

§personal_numbers: Option<Vec<String>>

A list of personal mobile phone numbers associated with this user.

Implementations§

Trait Implementations§

Source§

impl Clone for PersonEndpointResponse

Source§

fn clone(&self) -> PersonEndpointResponse

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for PersonEndpointResponse

Source§

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

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

impl Default for PersonEndpointResponse

Source§

fn default() -> PersonEndpointResponse

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for PersonEndpointResponse

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 PartialEq for PersonEndpointResponse

Source§

fn eq(&self, other: &PersonEndpointResponse) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Serialize for PersonEndpointResponse

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
Source§

impl StructuralPartialEq for PersonEndpointResponse

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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

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

Source§

type Error = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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
Source§

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

Source§

impl<T> ErasedDestructor for T
where T: 'static,