pub struct PredicateSuggestion {
pub name: String,
pub arg_domains: Vec<String>,
pub description: Option<String>,
pub confidence: f64,
pub source: SuggestionSource,
}Expand description
Suggestion for a predicate.
Fields§
§name: StringSuggested predicate name
arg_domains: Vec<String>Suggested argument domains
description: Option<String>Optional description
confidence: f64Confidence score (0.0 to 1.0)
source: SuggestionSourceSource of suggestion
Trait Implementations§
Source§impl Clone for PredicateSuggestion
impl Clone for PredicateSuggestion
Source§fn clone(&self) -> PredicateSuggestion
fn clone(&self) -> PredicateSuggestion
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 PredicateSuggestion
impl RefUnwindSafe for PredicateSuggestion
impl Send for PredicateSuggestion
impl Sync for PredicateSuggestion
impl Unpin for PredicateSuggestion
impl UnwindSafe for PredicateSuggestion
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