[−][src]Struct pt::models::LastQuote
Implementations
impl LastQuote
[src]
pub fn new(
askprice: f32,
asksize: i64,
askexchange: i64,
bidprice: f32,
bidsize: i64,
bidexchange: i64,
timestamp: i64
) -> LastQuote
[src]
askprice: f32,
asksize: i64,
askexchange: i64,
bidprice: f32,
bidsize: i64,
bidexchange: i64,
timestamp: i64
) -> LastQuote
pub fn set_askprice(&mut self, askprice: f32)
[src]
pub fn with_askprice(self, askprice: f32) -> LastQuote
[src]
pub fn askprice(&self) -> &f32
[src]
pub fn set_asksize(&mut self, asksize: i64)
[src]
pub fn with_asksize(self, asksize: i64) -> LastQuote
[src]
pub fn asksize(&self) -> &i64
[src]
pub fn set_askexchange(&mut self, askexchange: i64)
[src]
pub fn with_askexchange(self, askexchange: i64) -> LastQuote
[src]
pub fn askexchange(&self) -> &i64
[src]
pub fn set_bidprice(&mut self, bidprice: f32)
[src]
pub fn with_bidprice(self, bidprice: f32) -> LastQuote
[src]
pub fn bidprice(&self) -> &f32
[src]
pub fn set_bidsize(&mut self, bidsize: i64)
[src]
pub fn with_bidsize(self, bidsize: i64) -> LastQuote
[src]
pub fn bidsize(&self) -> &i64
[src]
pub fn set_bidexchange(&mut self, bidexchange: i64)
[src]
pub fn with_bidexchange(self, bidexchange: i64) -> LastQuote
[src]
pub fn bidexchange(&self) -> &i64
[src]
pub fn set_timestamp(&mut self, timestamp: i64)
[src]
pub fn with_timestamp(self, timestamp: i64) -> LastQuote
[src]
pub fn timestamp(&self) -> &i64
[src]
Trait Implementations
impl Clone for LastQuote
[src]
impl Debug for LastQuote
[src]
impl<'de> Deserialize<'de> for LastQuote
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for LastQuote
[src]
Auto Trait Implementations
impl RefUnwindSafe for LastQuote
impl Send for LastQuote
impl Sync for LastQuote
impl Unpin for LastQuote
impl UnwindSafe for LastQuote
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,