pub struct LinkedinInner { /* private fields */ }Implementations§
Source§impl LinkedinInner
impl LinkedinInner
pub async fn new( identity: &Identity, refresh_cookies: bool, ) -> Result<Self, LinkedinError>
pub async fn get_profile( &self, public_id: Option<&str>, urn: Option<&UniformResourceName>, ) -> Result<ProfileView, LinkedinError>
pub async fn get_profile_contact_info( &self, public_id: Option<&str>, uniform_resource_name: Option<&UniformResourceName>, ) -> Result<ContactInfo, LinkedinError>
pub async fn get_profile_skills( &self, public_id: Option<&str>, uniform_resource_name: Option<&UniformResourceName>, ) -> Result<Vec<Skill>, LinkedinError>
pub async fn get_profile_connections( &self, uniform_resource_name: &str, ) -> Result<Vec<Connection>, LinkedinError>
pub async fn search( &self, params: HashMap<String, String>, limit: Option<usize>, ) -> Result<Vec<Value>, LinkedinError>
pub async fn search_people( &self, params: SearchPeopleParams, ) -> Result<Vec<PersonSearchResult>, LinkedinError>
pub async fn get_company_updates( &self, public_id: Option<&str>, uniform_resource_name: Option<&str>, max_results: Option<usize>, ) -> Result<Vec<Value>, LinkedinError>
pub async fn get_profile_updates( &self, public_id: Option<&str>, uniform_resource_name: Option<&str>, max_results: Option<usize>, ) -> Result<Vec<Value>, LinkedinError>
pub async fn get_current_profile_views(&self) -> Result<u64, LinkedinError>
pub async fn get_school(&self, public_id: &str) -> Result<School, LinkedinError>
pub async fn get_company( &self, public_id: &str, ) -> Result<Company, LinkedinError>
pub async fn get_conversation_details( &self, profile_uniform_resource_name: &str, ) -> Result<ConversationDetails, LinkedinError>
pub async fn get_conversations( &self, ) -> Result<Vec<Conversation>, LinkedinError>
pub async fn get_conversation( &self, conversation_uniform_resource_name: &str, ) -> Result<Conversation, LinkedinError>
pub async fn send_message( &self, conversation_uniform_resource_name: Option<&str>, recipients: Option<Vec<String>>, message_body: &str, ) -> Result<bool, LinkedinError>
pub async fn mark_conversation_as_seen( &self, conversation_uniform_resource_name: &str, ) -> Result<bool, LinkedinError>
pub async fn get_user_profile(&self) -> Result<Value, LinkedinError>
pub async fn get_invitations( &self, start: usize, limit: usize, ) -> Result<Vec<Invitation>, LinkedinError>
pub async fn reply_invitation( &self, invitation_entity_urn: &str, invitation_shared_secret: &str, action: &str, ) -> Result<bool, LinkedinError>
pub async fn remove_connection( &self, public_profile_id: &str, ) -> Result<bool, LinkedinError>
pub async fn get_profile_privacy_settings( &self, public_profile_id: &str, ) -> Result<HashMap<String, Value>, LinkedinError>
pub async fn get_profile_member_badges( &self, public_profile_id: &str, ) -> Result<MemberBadges, LinkedinError>
pub async fn get_profile_network_info( &self, public_profile_id: &str, ) -> Result<NetworkInfo, LinkedinError>
pub async fn stub_people_search( &self, query: &str, count: usize, start: usize, ) -> Result<Value, LinkedinError>
Trait Implementations§
Source§impl Clone for LinkedinInner
impl Clone for LinkedinInner
Source§fn clone(&self) -> LinkedinInner
fn clone(&self) -> LinkedinInner
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 moreAuto Trait Implementations§
impl Freeze for LinkedinInner
impl !RefUnwindSafe for LinkedinInner
impl Send for LinkedinInner
impl Sync for LinkedinInner
impl Unpin for LinkedinInner
impl !UnwindSafe for LinkedinInner
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more