#[non_exhaustive]pub struct ScoreOptions {
pub candidates: Vec<String>,
}Expand description
Tunable inputs for §4.3 score-field detection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.candidates: Vec<String>Candidate field names preferred before the unique-numeric fallback. Names are matched at the top level first, then at any nested object depth, in this order.
Trait Implementations§
Source§impl Clone for ScoreOptions
impl Clone for ScoreOptions
Source§fn clone(&self) -> ScoreOptions
fn clone(&self) -> ScoreOptions
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 ScoreOptions
impl Debug for ScoreOptions
Source§impl Default for ScoreOptions
impl Default for ScoreOptions
impl Eq for ScoreOptions
Source§impl PartialEq for ScoreOptions
impl PartialEq for ScoreOptions
impl StructuralPartialEq for ScoreOptions
Auto Trait Implementations§
impl Freeze for ScoreOptions
impl RefUnwindSafe for ScoreOptions
impl Send for ScoreOptions
impl Sync for ScoreOptions
impl Unpin for ScoreOptions
impl UnsafeUnpin for ScoreOptions
impl UnwindSafe for ScoreOptions
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