[][src]Struct pt::models::MarketHoliday

pub struct MarketHoliday { /* fields omitted */ }

Implementations

impl MarketHoliday[src]

pub fn new(
    exchange: String,
    name: String,
    status: String,
    date: String
) -> MarketHoliday
[src]

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

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

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

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

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

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

pub fn set_status(&mut self, status: String)[src]

pub fn with_status(self, status: String) -> MarketHoliday[src]

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

pub fn set_date(&mut self, date: String)[src]

pub fn with_date(self, date: String) -> MarketHoliday[src]

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

pub fn set_open(&mut self, open: String)[src]

pub fn with_open(self, open: String) -> MarketHoliday[src]

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

pub fn reset_open(&mut self)[src]

pub fn set_close(&mut self, close: String)[src]

pub fn with_close(self, close: String) -> MarketHoliday[src]

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

pub fn reset_close(&mut self)[src]

Trait Implementations

impl Clone for MarketHoliday[src]

impl Debug for MarketHoliday[src]

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

impl Serialize for MarketHoliday[src]

Auto Trait Implementations

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.