pub struct OrderEventValidator;Implementations§
Source§impl OrderEventValidator
impl OrderEventValidator
pub const fn start(self) -> OrderEventValidationState
pub const fn step( self, state: OrderEventValidationState, symbol: OrderEventSymbol, ) -> OrderEventValidationState
pub fn run(self, symbols: &[OrderEventSymbol]) -> OrderEventValidationState
pub fn accepts(self, symbols: &[OrderEventSymbol]) -> bool
Trait Implementations§
Source§impl Clone for OrderEventValidator
impl Clone for OrderEventValidator
Source§fn clone(&self) -> OrderEventValidator
fn clone(&self) -> OrderEventValidator
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 OrderEventValidator
impl Debug for OrderEventValidator
Source§impl Default for OrderEventValidator
impl Default for OrderEventValidator
Source§fn default() -> OrderEventValidator
fn default() -> OrderEventValidator
Returns the “default value” for a type. Read more
Source§impl PartialEq for OrderEventValidator
impl PartialEq for OrderEventValidator
Source§fn eq(&self, other: &OrderEventValidator) -> bool
fn eq(&self, other: &OrderEventValidator) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OrderEventValidator
impl Eq for OrderEventValidator
impl StructuralPartialEq for OrderEventValidator
Auto Trait Implementations§
impl Freeze for OrderEventValidator
impl RefUnwindSafe for OrderEventValidator
impl Send for OrderEventValidator
impl Sync for OrderEventValidator
impl Unpin for OrderEventValidator
impl UnsafeUnpin for OrderEventValidator
impl UnwindSafe for OrderEventValidator
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