Struct longport_candlesticks::Candlestick
source · pub struct Candlestick {
pub time: OffsetDateTime,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub close: Decimal,
pub volume: i64,
pub turnover: Decimal,
}
Fields§
§time: OffsetDateTime
§open: Decimal
§high: Decimal
§low: Decimal
§close: Decimal
§volume: i64
§turnover: Decimal
Trait Implementations§
source§impl Clone for Candlestick
impl Clone for Candlestick
source§fn clone(&self) -> Candlestick
fn clone(&self) -> Candlestick
Returns a copy 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 Candlestick
impl Debug for Candlestick
source§impl PartialEq for Candlestick
impl PartialEq for Candlestick
source§fn eq(&self, other: &Candlestick) -> bool
fn eq(&self, other: &Candlestick) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for Candlestick
impl Eq for Candlestick
impl StructuralPartialEq for Candlestick
Auto Trait Implementations§
impl Freeze for Candlestick
impl RefUnwindSafe for Candlestick
impl Send for Candlestick
impl Sync for Candlestick
impl Unpin for Candlestick
impl UnwindSafe for Candlestick
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