Service

Struct Service 

Source
pub struct Service { /* private fields */ }
Expand description

Service implementation for CUFinder API

Implementations§

Source§

impl Service

Source

pub fn new(client: Client) -> Self

Create a new service instance

Source

pub async fn get_domain(&self, params: CufParams) -> Result<CufResponse>

CUF Service - Company URL Finder

Source

pub async fn get_linkedin_url(&self, params: LcufParams) -> Result<LcufResponse>

LCUF Service - LinkedIn Company URL Finder

Source

pub async fn get_company_name(&self, params: DtcParams) -> Result<DtcResponse>

DTC Service - Domain to Company

Source

pub async fn get_emails(&self, params: DteParams) -> Result<DteResponse>

DTE Service - Domain to Emails

Source

pub async fn get_phones(&self, params: NtpParams) -> Result<NtpResponse>

NTP Service - Name to Phones

Source

pub async fn reverse_email_lookup( &self, params: RelParams, ) -> Result<RelResponse>

REL Service - Reverse Email Lookup

Source

pub async fn get_lookalikes(&self, params: FclParams) -> Result<FclResponse>

FCL Service - Find Company Lookalikes

Source

pub async fn get_fundraising(&self, params: ElfParams) -> Result<ElfResponse>

ELF Service - Enrich LinkedIn Fundraising

Source

pub async fn get_revenue(&self, params: CarParams) -> Result<CarResponse>

CAR Service - Company Annual Revenue

Source

pub async fn get_subsidiaries(&self, params: FccParams) -> Result<FccResponse>

FCC Service - Find Company Children

Source

pub async fn get_tech_stack(&self, params: FtsParams) -> Result<FtsResponse>

FTS Service - Find Tech Stack

Source

pub async fn enrich_profile(&self, params: EppParams) -> Result<EppResponse>

EPP Service - Enrich Profile

Source

pub async fn get_email_from_profile( &self, params: FweParams, ) -> Result<FweResponse>

FWE Service - Find Work Email

Source

pub async fn enrich_person(&self, params: TepParams) -> Result<TepResponse>

TEP Service - Person Enrichment

Source

pub async fn enrich_company(&self, params: EncParams) -> Result<EncResponse>

ENC Service - Company Enrichment

Source

pub async fn get_employee_countries( &self, params: CecParams, ) -> Result<CecResponse>

CEC Service - Company Employee Countries

Source

pub async fn get_locations(&self, params: CloParams) -> Result<CloResponse>

CLO Service - Company Locations

Source

pub async fn search_companies(&self, params: CseParams) -> Result<CseResponse>

CSE Service - Company Search

Source

pub async fn search_people(&self, params: PseParams) -> Result<PseResponse>

PSE Service - Person Search

Source

pub async fn search_local_businesses( &self, params: LbsParams, ) -> Result<LbsResponse>

LBS Service - Local Business Search

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> 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 = 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> ErasedDestructor for T
where T: 'static,