Struct longport::quote::IntradayLine
source · pub struct IntradayLine {
pub price: Decimal,
pub timestamp: OffsetDateTime,
pub volume: i64,
pub turnover: Decimal,
pub avg_price: Decimal,
}
Expand description
Intraday line
Fields§
§price: Decimal
Close price of the minute
timestamp: OffsetDateTime
Start time of the minute
volume: i64
Volume
turnover: Decimal
Turnover
avg_price: Decimal
Average price
Trait Implementations§
source§impl Clone for IntradayLine
impl Clone for IntradayLine
source§fn clone(&self) -> IntradayLine
fn clone(&self) -> IntradayLine
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 IntradayLine
impl Debug for IntradayLine
Auto Trait Implementations§
impl Freeze for IntradayLine
impl RefUnwindSafe for IntradayLine
impl Send for IntradayLine
impl Sync for IntradayLine
impl Unpin for IntradayLine
impl UnwindSafe for IntradayLine
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