pub struct StocksSnapshotBookItem { /* private fields */ }Implementations§
Source§impl StocksSnapshotBookItem
impl StocksSnapshotBookItem
pub fn new(p: f32, x: Value) -> StocksSnapshotBookItem
pub fn set_p(&mut self, p: f32)
pub fn with_p(self, p: f32) -> StocksSnapshotBookItem
pub fn p(&self) -> &f32
pub fn set_x(&mut self, x: Value)
pub fn with_x(self, x: Value) -> StocksSnapshotBookItem
pub fn x(&self) -> &Value
Trait Implementations§
Source§impl Clone for StocksSnapshotBookItem
impl Clone for StocksSnapshotBookItem
Source§fn clone(&self) -> StocksSnapshotBookItem
fn clone(&self) -> StocksSnapshotBookItem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StocksSnapshotBookItem
impl Debug for StocksSnapshotBookItem
Source§impl<'de> Deserialize<'de> for StocksSnapshotBookItem
impl<'de> Deserialize<'de> for StocksSnapshotBookItem
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 StocksSnapshotBookItem
impl RefUnwindSafe for StocksSnapshotBookItem
impl Send for StocksSnapshotBookItem
impl Sync for StocksSnapshotBookItem
impl Unpin for StocksSnapshotBookItem
impl UnsafeUnpin for StocksSnapshotBookItem
impl UnwindSafe for StocksSnapshotBookItem
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