pub struct TestMatchOptions {
pub fuzzy: Option<f64>,
pub timeframe: Option<Timeframe>,
pub symbol: Option<String>,
}Expand description
Options for pattern matching in tests
Fields§
§fuzzy: Option<f64>Fuzzy matching tolerance
timeframe: Option<Timeframe>Timeframe for pattern matching
symbol: Option<String>Symbol to test against
Trait Implementations§
Source§impl Clone for TestMatchOptions
impl Clone for TestMatchOptions
Source§fn clone(&self) -> TestMatchOptions
fn clone(&self) -> TestMatchOptions
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 TestMatchOptions
impl Debug for TestMatchOptions
Source§impl Default for TestMatchOptions
impl Default for TestMatchOptions
Source§fn default() -> TestMatchOptions
fn default() -> TestMatchOptions
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TestMatchOptions
impl<'de> Deserialize<'de> for TestMatchOptions
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TestMatchOptions
impl RefUnwindSafe for TestMatchOptions
impl Send for TestMatchOptions
impl Sync for TestMatchOptions
impl Unpin for TestMatchOptions
impl UnsafeUnpin for TestMatchOptions
impl UnwindSafe for TestMatchOptions
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