pub struct VariableSuggestion {
pub name: String,
pub domain: String,
pub confidence: f64,
pub source: SuggestionSource,
}Expand description
Suggestion for a variable name.
Fields§
§name: StringSuggested variable name
domain: StringDomain of the variable
confidence: f64Confidence score (0.0 to 1.0)
source: SuggestionSourceSource of suggestion
Trait Implementations§
Source§impl Clone for VariableSuggestion
impl Clone for VariableSuggestion
Source§fn clone(&self) -> VariableSuggestion
fn clone(&self) -> VariableSuggestion
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 moreAuto Trait Implementations§
impl Freeze for VariableSuggestion
impl RefUnwindSafe for VariableSuggestion
impl Send for VariableSuggestion
impl Sync for VariableSuggestion
impl Unpin for VariableSuggestion
impl UnwindSafe for VariableSuggestion
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