pub struct BoardScope<'a> { /* private fields */ }Expand description
Основные paginator-ы и scope-типы блокирующего API.
Блокирующие HTTP-клиенты ISS API.
Blocking scope по engine/market/board, владеющий значениями.
Implementations§
Source§impl<'a> OwnedBoardScope<'a>
impl<'a> OwnedBoardScope<'a>
Sourcepub fn engine(&self) -> &EngineName
pub fn engine(&self) -> &EngineName
Имя торгового движка текущего owning-scope.
Sourcepub fn market(&self) -> &MarketName
pub fn market(&self) -> &MarketName
Имя рынка текущего owning-scope.
Sourcepub fn securities(
&self,
page_request: PageRequest,
) -> Result<Vec<Security>, MoexError>
pub fn securities( &self, page_request: PageRequest, ) -> Result<Vec<Security>, MoexError>
Получить инструменты (securities) по текущему owning-scope.
Sourcepub fn securities_pages(&self, page_limit: NonZeroU32) -> SecuritiesPages<'_>
pub fn securities_pages(&self, page_limit: NonZeroU32) -> SecuritiesPages<'_>
Создать ленивый paginator страниц securities по текущему owning-scope.
Sourcepub fn snapshots(&self) -> Result<Vec<SecuritySnapshot>, MoexError>
pub fn snapshots(&self) -> Result<Vec<SecuritySnapshot>, MoexError>
Получить снимки инструментов (LOTSIZE и LAST) для текущего owning-scope.
Sourcepub fn security<S>(
self,
security: S,
) -> Result<OwnedSecurityScope<'a>, ParseSecIdError>
pub fn security<S>( self, security: S, ) -> Result<OwnedSecurityScope<'a>, ParseSecIdError>
Зафиксировать инструмент в рамках текущего engine/market/board.
Trait Implementations§
Source§impl<'a> Clone for OwnedBoardScope<'a>
impl<'a> Clone for OwnedBoardScope<'a>
Source§fn clone(&self) -> OwnedBoardScope<'a>
fn clone(&self) -> OwnedBoardScope<'a>
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 moreAuto Trait Implementations§
impl<'a> Freeze for OwnedBoardScope<'a>
impl<'a> !RefUnwindSafe for OwnedBoardScope<'a>
impl<'a> Send for OwnedBoardScope<'a>
impl<'a> Sync for OwnedBoardScope<'a>
impl<'a> Unpin for OwnedBoardScope<'a>
impl<'a> UnsafeUnpin for OwnedBoardScope<'a>
impl<'a> !UnwindSafe for OwnedBoardScope<'a>
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