Struct Tick

Source
pub struct Tick {
Show 27 fields pub time: BigDecimal, pub current: BigDecimal, pub high: BigDecimal, pub low: BigDecimal, pub volumn: BigDecimal, pub money: BigDecimal, pub position: BigDecimal, pub a1_v: BigDecimal, pub a2_v: BigDecimal, pub a3_v: BigDecimal, pub a4_v: BigDecimal, pub a5_v: BigDecimal, pub a1_p: BigDecimal, pub a2_p: BigDecimal, pub a3_p: BigDecimal, pub a4_p: BigDecimal, pub a5_p: BigDecimal, pub b1_v: BigDecimal, pub b2_v: BigDecimal, pub b3_v: BigDecimal, pub b4_v: BigDecimal, pub b5_v: BigDecimal, pub b1_p: BigDecimal, pub b2_p: BigDecimal, pub b3_p: BigDecimal, pub b4_p: BigDecimal, pub b5_p: BigDecimal,
}

Fields§

§time: BigDecimal§current: BigDecimal§high: BigDecimal§low: BigDecimal§volumn: BigDecimal§money: BigDecimal§position: BigDecimal§a1_v: BigDecimal§a2_v: BigDecimal§a3_v: BigDecimal§a4_v: BigDecimal§a5_v: BigDecimal§a1_p: BigDecimal§a2_p: BigDecimal§a3_p: BigDecimal§a4_p: BigDecimal§a5_p: BigDecimal§b1_v: BigDecimal§b2_v: BigDecimal§b3_v: BigDecimal§b4_v: BigDecimal§b5_v: BigDecimal§b1_p: BigDecimal§b2_p: BigDecimal§b3_p: BigDecimal§b4_p: BigDecimal§b5_p: BigDecimal

Trait Implementations§

Source§

impl Debug for Tick

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for Tick

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for Tick

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

§

impl Freeze for Tick

§

impl RefUnwindSafe for Tick

§

impl Send for Tick

§

impl Sync for Tick

§

impl Unpin for Tick

§

impl UnwindSafe for Tick

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,