pub struct CryptoTickJson { /* private fields */ }Implementations§
Source§impl CryptoTickJson
impl CryptoTickJson
pub fn new(p: f32, s: f32, x: i64, c: Vec<i64>, t: i64) -> CryptoTickJson
pub fn set_p(&mut self, p: f32)
pub fn with_p(self, p: f32) -> CryptoTickJson
pub fn p(&self) -> &f32
pub fn set_s(&mut self, s: f32)
pub fn with_s(self, s: f32) -> CryptoTickJson
pub fn s(&self) -> &f32
pub fn set_x(&mut self, x: i64)
pub fn with_x(self, x: i64) -> CryptoTickJson
pub fn x(&self) -> &i64
pub fn set_c(&mut self, c: Vec<i64>)
pub fn with_c(self, c: Vec<i64>) -> CryptoTickJson
pub fn c(&self) -> &Vec<i64>
pub fn set_t(&mut self, t: i64)
pub fn with_t(self, t: i64) -> CryptoTickJson
pub fn t(&self) -> &i64
Trait Implementations§
Source§impl Clone for CryptoTickJson
impl Clone for CryptoTickJson
Source§fn clone(&self) -> CryptoTickJson
fn clone(&self) -> CryptoTickJson
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for CryptoTickJson
impl Debug for CryptoTickJson
Source§impl<'de> Deserialize<'de> for CryptoTickJson
impl<'de> Deserialize<'de> for CryptoTickJson
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for CryptoTickJson
impl RefUnwindSafe for CryptoTickJson
impl Send for CryptoTickJson
impl Sync for CryptoTickJson
impl Unpin for CryptoTickJson
impl UnwindSafe for CryptoTickJson
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more