[][src]Struct pt::models::Forex

pub struct Forex { /* fields omitted */ }

Implementations

impl Forex[src]

pub fn new(a: f32, b: f32, t: i64) -> Forex[src]

pub fn set_a(&mut self, a: f32)[src]

pub fn with_a(self, a: f32) -> Forex[src]

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

pub fn set_b(&mut self, b: f32)[src]

pub fn with_b(self, b: f32) -> Forex[src]

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

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

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

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

Trait Implementations

impl Clone for Forex[src]

impl Debug for Forex[src]

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

impl Serialize for Forex[src]

Auto Trait Implementations

impl RefUnwindSafe for Forex

impl Send for Forex

impl Sync for Forex

impl Unpin for Forex

impl UnwindSafe for Forex

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.