[][src]Struct pt::models::Company

pub struct Company { /* fields omitted */ }

Implementations

impl Company[src]

pub fn new(
    exchange: String,
    name: String,
    symbol: String,
    description: String,
    updated: String
) -> Company
[src]

pub fn set_exchange(&mut self, exchange: String)[src]

pub fn with_exchange(self, exchange: String) -> Company[src]

pub fn exchange(&self) -> &String[src]

pub fn set_name(&mut self, name: String)[src]

pub fn with_name(self, name: String) -> Company[src]

pub fn name(&self) -> &String[src]

pub fn set_symbol(&mut self, symbol: String)[src]

pub fn with_symbol(self, symbol: String) -> Company[src]

pub fn symbol(&self) -> &String[src]

pub fn set_listdate(&mut self, listdate: String)[src]

pub fn with_listdate(self, listdate: String) -> Company[src]

pub fn listdate(&self) -> Option<&String>[src]

pub fn reset_listdate(&mut self)[src]

pub fn set_cik(&mut self, cik: String)[src]

pub fn with_cik(self, cik: String) -> Company[src]

pub fn cik(&self) -> Option<&String>[src]

pub fn reset_cik(&mut self)[src]

pub fn set_bloomberg(&mut self, bloomberg: String)[src]

pub fn with_bloomberg(self, bloomberg: String) -> Company[src]

pub fn bloomberg(&self) -> Option<&String>[src]

pub fn reset_bloomberg(&mut self)[src]

pub fn set_figi(&mut self, figi: String)[src]

pub fn with_figi(self, figi: String) -> Company[src]

pub fn figi(&self) -> Option<&String>[src]

pub fn reset_figi(&mut self)[src]

pub fn set_lei(&mut self, lei: String)[src]

pub fn with_lei(self, lei: String) -> Company[src]

pub fn lei(&self) -> Option<&String>[src]

pub fn reset_lei(&mut self)[src]

pub fn set_sic(&mut self, sic: i64)[src]

pub fn with_sic(self, sic: i64) -> Company[src]

pub fn sic(&self) -> Option<&i64>[src]

pub fn reset_sic(&mut self)[src]

pub fn set_country(&mut self, country: String)[src]

pub fn with_country(self, country: String) -> Company[src]

pub fn country(&self) -> Option<&String>[src]

pub fn reset_country(&mut self)[src]

pub fn set_industry(&mut self, industry: String)[src]

pub fn with_industry(self, industry: String) -> Company[src]

pub fn industry(&self) -> Option<&String>[src]

pub fn reset_industry(&mut self)[src]

pub fn set_sector(&mut self, sector: String)[src]

pub fn with_sector(self, sector: String) -> Company[src]

pub fn sector(&self) -> Option<&String>[src]

pub fn reset_sector(&mut self)[src]

pub fn set_marketcap(&mut self, marketcap: i64)[src]

pub fn with_marketcap(self, marketcap: i64) -> Company[src]

pub fn marketcap(&self) -> Option<&i64>[src]

pub fn reset_marketcap(&mut self)[src]

pub fn set_employees(&mut self, employees: i64)[src]

pub fn with_employees(self, employees: i64) -> Company[src]

pub fn employees(&self) -> Option<&i64>[src]

pub fn reset_employees(&mut self)[src]

pub fn set_phone(&mut self, phone: String)[src]

pub fn with_phone(self, phone: String) -> Company[src]

pub fn phone(&self) -> Option<&String>[src]

pub fn reset_phone(&mut self)[src]

pub fn set_ceo(&mut self, ceo: String)[src]

pub fn with_ceo(self, ceo: String) -> Company[src]

pub fn ceo(&self) -> Option<&String>[src]

pub fn reset_ceo(&mut self)[src]

pub fn set_url(&mut self, url: String)[src]

pub fn with_url(self, url: String) -> Company[src]

pub fn url(&self) -> Option<&String>[src]

pub fn reset_url(&mut self)[src]

pub fn set_description(&mut self, description: String)[src]

pub fn with_description(self, description: String) -> Company[src]

pub fn description(&self) -> &String[src]

pub fn set_similar(&mut self, similar: Vec<String>)[src]

pub fn with_similar(self, similar: Vec<String>) -> Company[src]

pub fn similar(&self) -> Option<&Vec<String>>[src]

pub fn reset_similar(&mut self)[src]

pub fn set_tags(&mut self, tags: Vec<String>)[src]

pub fn with_tags(self, tags: Vec<String>) -> Company[src]

pub fn tags(&self) -> Option<&Vec<String>>[src]

pub fn reset_tags(&mut self)[src]

pub fn set_updated(&mut self, updated: String)[src]

pub fn with_updated(self, updated: String) -> Company[src]

pub fn updated(&self) -> &String[src]

Trait Implementations

impl Clone for Company[src]

impl Debug for Company[src]

impl<'de> Deserialize<'de> for Company[src]

impl Serialize for Company[src]

Auto Trait Implementations

impl RefUnwindSafe for Company

impl Send for Company

impl Sync for Company

impl Unpin for Company

impl UnwindSafe for Company

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

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

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.