[][src]Struct pt::models::CryptoTickJson

pub struct CryptoTickJson { /* fields omitted */ }

Implementations

impl CryptoTickJson[src]

pub fn new(p: f32, s: f32, x: i64, c: Vec<i64>, t: i64) -> CryptoTickJson[src]

pub fn set_p(&mut self, p: f32)[src]

pub fn with_p(self, p: f32) -> CryptoTickJson[src]

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

pub fn set_s(&mut self, s: f32)[src]

pub fn with_s(self, s: f32) -> CryptoTickJson[src]

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

pub fn set_x(&mut self, x: i64)[src]

pub fn with_x(self, x: i64) -> CryptoTickJson[src]

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

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

pub fn with_c(self, c: Vec<i64>) -> CryptoTickJson[src]

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

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

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

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

Trait Implementations

impl Clone for CryptoTickJson[src]

impl Debug for CryptoTickJson[src]

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

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