pub struct SchemaScore {
pub schema_id: String,
pub score: f64,
pub reasoning: String,
pub factors: HashMap<String, f64>,
}Expand description
A scored schema recommendation.
Fields§
§schema_id: StringSchema identifier
score: f64Recommendation score (0.0 to 1.0)
reasoning: StringReasoning for the recommendation
factors: HashMap<String, f64>Contributing factors to the score
Implementations§
Trait Implementations§
Source§impl Clone for SchemaScore
impl Clone for SchemaScore
Source§fn clone(&self) -> SchemaScore
fn clone(&self) -> SchemaScore
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 SchemaScore
impl RefUnwindSafe for SchemaScore
impl Send for SchemaScore
impl Sync for SchemaScore
impl Unpin for SchemaScore
impl UnwindSafe for SchemaScore
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