[][src]Struct pt::models::Symbol

pub struct Symbol { /* fields omitted */ }

Implementations

impl Symbol[src]

pub fn new(
    symbol: String,
    name: String,
    _type: String,
    url: String,
    updated: String,
    is_otc: bool
) -> Symbol
[src]

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pub fn set_is_otc(&mut self, is_otc: bool)[src]

pub fn with_is_otc(self, is_otc: bool) -> Symbol[src]

pub fn is_otc(&self) -> &bool[src]

Trait Implementations

impl Clone for Symbol[src]

impl Debug for Symbol[src]

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

impl Serialize for Symbol[src]

Auto Trait Implementations

impl RefUnwindSafe for Symbol

impl Send for Symbol

impl Sync for Symbol

impl Unpin for Symbol

impl UnwindSafe for Symbol

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.