pub struct SecurityBoard { /* private fields */ }Expand description
Режим торгов инструмента из securities/{secid} таблицы boards.
Implementations§
Source§impl SecurityBoard
impl SecurityBoard
Sourcepub fn try_new(
engine: String,
market: String,
boardid: String,
is_primary: i64,
) -> Result<Self, ParseSecurityBoardError>
pub fn try_new( engine: String, market: String, boardid: String, is_primary: i64, ) -> Result<Self, ParseSecurityBoardError>
Построить режим торгов инструмента из wire-значений ISS.
Sourcepub fn engine(&self) -> &EngineName
pub fn engine(&self) -> &EngineName
Имя движка из ответа ISS (engine).
Sourcepub fn market(&self) -> &MarketName
pub fn market(&self) -> &MarketName
Имя рынка из ответа ISS (market).
Sourcepub fn is_primary(&self) -> bool
pub fn is_primary(&self) -> bool
Признак первичного режима (is_primary).
Trait Implementations§
Source§impl Clone for SecurityBoard
impl Clone for SecurityBoard
Source§fn clone(&self) -> SecurityBoard
fn clone(&self) -> SecurityBoard
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 SecurityBoard
impl Debug for SecurityBoard
Source§impl Hash for SecurityBoard
impl Hash for SecurityBoard
Source§impl PartialEq for SecurityBoard
impl PartialEq for SecurityBoard
impl Eq for SecurityBoard
impl StructuralPartialEq for SecurityBoard
Auto Trait Implementations§
impl Freeze for SecurityBoard
impl RefUnwindSafe for SecurityBoard
impl Send for SecurityBoard
impl Sync for SecurityBoard
impl Unpin for SecurityBoard
impl UnsafeUnpin for SecurityBoard
impl UnwindSafe for SecurityBoard
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