pub struct TestCandlestickTime<'a> { /* private fields */ }Implementations§
Source§impl<'a> TestCandlestickTime<'a>
impl<'a> TestCandlestickTime<'a>
pub fn new(market: &'a Market, period: Period) -> Self
pub fn check_time( &self, ts: TradeSessionKind, input: Time, expected: impl Into<Option<Time>>, )
pub fn check_datetime( &self, ts: TradeSessionKind, input: OffsetDateTime, expected: impl Into<Option<OffsetDateTime>>, )
Auto Trait Implementations§
impl<'a> Freeze for TestCandlestickTime<'a>
impl<'a> RefUnwindSafe for TestCandlestickTime<'a>
impl<'a> Send for TestCandlestickTime<'a>
impl<'a> Sync for TestCandlestickTime<'a>
impl<'a> Unpin for TestCandlestickTime<'a>
impl<'a> UnsafeUnpin for TestCandlestickTime<'a>
impl<'a> UnwindSafe for TestCandlestickTime<'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