#[non_exhaustive]pub struct KlineRequest {
pub symbol: Symbol,
pub interval: KlineInterval,
pub start: Option<OffsetDateTime>,
pub end: Option<OffsetDateTime>,
pub limit: Option<u32>,
}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§start: Option<OffsetDateTime>§end: Option<OffsetDateTime>§limit: Option<u32>Implementations§
Source§impl KlineRequest
impl KlineRequest
Trait Implementations§
Source§impl Clone for KlineRequest
impl Clone for KlineRequest
Source§fn clone(&self) -> KlineRequest
fn clone(&self) -> KlineRequest
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 KlineRequest
impl Debug for KlineRequest
Source§impl PartialEq for KlineRequest
impl PartialEq for KlineRequest
Source§fn eq(&self, other: &KlineRequest) -> bool
fn eq(&self, other: &KlineRequest) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for KlineRequest
impl StructuralPartialEq for KlineRequest
Auto Trait Implementations§
impl Freeze for KlineRequest
impl RefUnwindSafe for KlineRequest
impl Send for KlineRequest
impl Sync for KlineRequest
impl Unpin for KlineRequest
impl UnsafeUnpin for KlineRequest
impl UnwindSafe for KlineRequest
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