pub struct CandleBorder { /* private fields */ }Expand description
Доступные границы свечных данных (candleborders).
Implementations§
Source§impl CandleBorder
impl CandleBorder
Sourcepub fn try_new(
begin: NaiveDateTime,
end: NaiveDateTime,
interval: i64,
board_group_id: i64,
) -> Result<Self, ParseCandleBorderError>
pub fn try_new( begin: NaiveDateTime, end: NaiveDateTime, interval: i64, board_group_id: i64, ) -> Result<Self, ParseCandleBorderError>
Построить границы доступных свечей из wire-значений ISS.
Sourcepub fn begin(&self) -> NaiveDateTime
pub fn begin(&self) -> NaiveDateTime
Начало доступного диапазона.
Sourcepub fn end(&self) -> NaiveDateTime
pub fn end(&self) -> NaiveDateTime
Конец доступного диапазона.
Sourcepub fn interval(&self) -> CandleInterval
pub fn interval(&self) -> CandleInterval
Интервал свечей.
Sourcepub fn board_group_id(&self) -> u32
pub fn board_group_id(&self) -> u32
Идентификатор группы режимов торгов.
Trait Implementations§
Source§impl Clone for CandleBorder
impl Clone for CandleBorder
Source§fn clone(&self) -> CandleBorder
fn clone(&self) -> CandleBorder
Returns a duplicate 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 CandleBorder
impl Debug for CandleBorder
Source§impl PartialEq for CandleBorder
impl PartialEq for CandleBorder
impl Eq for CandleBorder
impl StructuralPartialEq for CandleBorder
Auto Trait Implementations§
impl Freeze for CandleBorder
impl RefUnwindSafe for CandleBorder
impl Send for CandleBorder
impl Sync for CandleBorder
impl Unpin for CandleBorder
impl UnsafeUnpin for CandleBorder
impl UnwindSafe for CandleBorder
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