Struct google_jobs3::api::Company

source ·
pub struct Company {
Show 13 fields pub career_site_uri: Option<String>, pub derived_info: Option<CompanyDerivedInfo>, pub display_name: Option<String>, pub eeo_text: Option<String>, pub external_id: Option<String>, pub headquarters_address: Option<String>, pub hiring_agency: Option<bool>, pub image_uri: Option<String>, pub keyword_searchable_job_custom_attributes: Option<Vec<String>>, pub name: Option<String>, pub size: Option<String>, pub suspended: Option<bool>, pub website_uri: Option<String>,
}
Expand description

A Company resource represents a company in the service. A company is the entity that owns job postings, that is, the hiring entity responsible for employing applicants for the job position.

§Activities

This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).

Fields§

§career_site_uri: Option<String>

Optional. The URI to employer’s career site or careers page on the employer’s web site, for example, “https://careers.google.com”.

§derived_info: Option<CompanyDerivedInfo>

Output only. Derived details about the company.

§display_name: Option<String>

Required. The display name of the company, for example, “Google LLC”.

§eeo_text: Option<String>

Optional. Equal Employment Opportunity legal disclaimer text to be associated with all jobs, and typically to be displayed in all roles. The maximum number of allowed characters is 500.

§external_id: Option<String>

Required. Client side company identifier, used to uniquely identify the company. The maximum number of allowed characters is 255.

§headquarters_address: Option<String>

Optional. The street address of the company’s main headquarters, which may be different from the job location. The service attempts to geolocate the provided address, and populates a more specific location wherever possible in DerivedInfo.headquarters_location.

§hiring_agency: Option<bool>

Optional. Set to true if it is the hiring agency that post jobs for other employers. Defaults to false if not provided.

§image_uri: Option<String>

Optional. A URI that hosts the employer’s company logo.

§keyword_searchable_job_custom_attributes: Option<Vec<String>>

Optional. This field is deprecated. Please set the searchability of the custom attribute in the Job.custom_attributes going forward. A list of keys of filterable Job.custom_attributes, whose corresponding string_values are used in keyword search. Jobs with string_values under these specified field keys are returned if any of the values matches the search keyword. Custom field values with parenthesis, brackets and special symbols won’t be properly searchable, and those keyword queries need to be surrounded by quotes.

§name: Option<String>

Required during company update. The resource name for a company. This is generated by the service when a company is created. The format is “projects/{project_id}/companies/{company_id}”, for example, “projects/api-test-project/companies/foo”.

§size: Option<String>

Optional. The employer’s company size.

§suspended: Option<bool>

Output only. Indicates whether a company is flagged to be suspended from public availability by the service when job content appears suspicious, abusive, or spammy.

§website_uri: Option<String>

Optional. The URI representing the company’s primary web site or home page, for example, “https://www.google.com”. The maximum number of allowed characters is 255.

Trait Implementations§

source§

impl Clone for Company

source§

fn clone(&self) -> Company

Returns a copy 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 Company

source§

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

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

impl Default for Company

source§

fn default() -> Company

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

impl<'de> Deserialize<'de> for Company

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 Company

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 ResponseResult for Company

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

§

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>,

§

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>,

§

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>,