#[non_exhaustive]pub struct Kline {
pub symbol: Symbol,
pub interval: KlineInterval,
pub open_time: OffsetDateTime,
pub close_time: OffsetDateTime,
pub open: Decimal,
pub high: Decimal,
pub low: Decimal,
pub close: Decimal,
pub volume_base: Decimal,
pub volume_quote: Option<Decimal>,
pub closed: bool,
pub extensions: Extensions,
}Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.symbol: Symbol§interval: KlineInterval§open_time: OffsetDateTime§close_time: OffsetDateTime§open: Decimal§high: Decimal§low: Decimal§close: Decimal§volume_base: Decimal§volume_quote: Option<Decimal>§closed: bool§extensions: ExtensionsImplementations§
Trait Implementations§
impl StructuralPartialEq for Kline
Auto Trait Implementations§
impl Freeze for Kline
impl RefUnwindSafe for Kline
impl Send for Kline
impl Sync for Kline
impl Unpin for Kline
impl UnsafeUnpin for Kline
impl UnwindSafe for Kline
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