pub struct SearchConfigInfo {
pub target: f64,
pub level: f32,
pub max_lhs_complexity: u32,
pub max_rhs_complexity: u32,
pub deterministic: bool,
pub parallel: bool,
pub max_error: f64,
pub max_matches: usize,
pub ranking_mode: String,
pub user_constants: Vec<UserConstantInfo>,
pub excluded_symbols: Vec<String>,
pub allowed_symbols: Option<Vec<String>>,
}Expand description
Search configuration summary
Fields§
§target: f64Target value searched for
level: f32Search level
max_lhs_complexity: u32Maximum LHS complexity
max_rhs_complexity: u32Maximum RHS complexity
deterministic: boolWhether deterministic mode was enabled
parallel: boolWhether parallel search was used
max_error: f64Maximum error tolerance
max_matches: usizeMaximum matches requested
ranking_mode: StringRanking mode used
user_constants: Vec<UserConstantInfo>User constants (names and values)
excluded_symbols: Vec<String>Excluded symbols
allowed_symbols: Option<Vec<String>>Allowed symbols (if restricted)
Trait Implementations§
Source§impl Clone for SearchConfigInfo
impl Clone for SearchConfigInfo
Source§fn clone(&self) -> SearchConfigInfo
fn clone(&self) -> SearchConfigInfo
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 SearchConfigInfo
impl Debug for SearchConfigInfo
Source§impl<'de> Deserialize<'de> for SearchConfigInfo
impl<'de> Deserialize<'de> for SearchConfigInfo
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 SearchConfigInfo
impl RefUnwindSafe for SearchConfigInfo
impl Send for SearchConfigInfo
impl Sync for SearchConfigInfo
impl Unpin for SearchConfigInfo
impl UnsafeUnpin for SearchConfigInfo
impl UnwindSafe for SearchConfigInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more