[][src]Struct pt::models::Quote

pub struct Quote { /* fields omitted */ }

Implementations

impl Quote[src]

pub fn new(
    c: i64,
    b_e: String,
    a_e: String,
    a_p: f32,
    b_p: f32,
    b_s: i64,
    a_s: i64,
    t: i64
) -> Quote
[src]

pub fn set_c(&mut self, c: i64)[src]

pub fn with_c(self, c: i64) -> Quote[src]

pub fn c(&self) -> &i64[src]

pub fn set_b_e(&mut self, b_e: String)[src]

pub fn with_b_e(self, b_e: String) -> Quote[src]

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

pub fn set_a_e(&mut self, a_e: String)[src]

pub fn with_a_e(self, a_e: String) -> Quote[src]

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

pub fn set_a_p(&mut self, a_p: f32)[src]

pub fn with_a_p(self, a_p: f32) -> Quote[src]

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

pub fn set_b_p(&mut self, b_p: f32)[src]

pub fn with_b_p(self, b_p: f32) -> Quote[src]

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

pub fn set_b_s(&mut self, b_s: i64)[src]

pub fn with_b_s(self, b_s: i64) -> Quote[src]

pub fn b_s(&self) -> &i64[src]

pub fn set_a_s(&mut self, a_s: i64)[src]

pub fn with_a_s(self, a_s: i64) -> Quote[src]

pub fn a_s(&self) -> &i64[src]

pub fn set_t(&mut self, t: i64)[src]

pub fn with_t(self, t: i64) -> Quote[src]

pub fn t(&self) -> &i64[src]

Trait Implementations

impl Clone for Quote[src]

impl Debug for Quote[src]

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

impl Serialize for Quote[src]

Auto Trait Implementations

impl RefUnwindSafe for Quote

impl Send for Quote

impl Sync for Quote

impl Unpin for Quote

impl UnwindSafe for Quote

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.