[][src]Struct pt::models::Exchange

pub struct Exchange { /* fields omitted */ }

Implementations

impl Exchange[src]

pub fn new(id: f32, _type: String, market: String, name: String) -> Exchange[src]

pub fn set_id(&mut self, id: f32)[src]

pub fn with_id(self, id: f32) -> Exchange[src]

pub fn id(&self) -> &f32[src]

pub fn set__type(&mut self, _type: String)[src]

pub fn with__type(self, _type: String) -> Exchange[src]

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

pub fn set_market(&mut self, market: String)[src]

pub fn with_market(self, market: String) -> Exchange[src]

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

pub fn set_mic(&mut self, mic: String)[src]

pub fn with_mic(self, mic: String) -> Exchange[src]

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

pub fn reset_mic(&mut self)[src]

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

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

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

pub fn set_tape(&mut self, tape: String)[src]

pub fn with_tape(self, tape: String) -> Exchange[src]

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

pub fn reset_tape(&mut self)[src]

Trait Implementations

impl Clone for Exchange[src]

impl Debug for Exchange[src]

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

impl Serialize for Exchange[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.