pub struct AdaptiveRecommendation {
pub mode: EfficientMode,
pub confidence: f32,
pub reasons: Vec<&'static str>,
}Expand description
Outcome of recommend_mode_for_content.
Fields§
§mode: EfficientMode§confidence: f32Heuristic confidence in [0, 1].
reasons: Vec<&'static str>Trait Implementations§
Source§impl Clone for AdaptiveRecommendation
impl Clone for AdaptiveRecommendation
Source§fn clone(&self) -> AdaptiveRecommendation
fn clone(&self) -> AdaptiveRecommendation
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 AdaptiveRecommendation
impl Debug for AdaptiveRecommendation
Source§impl PartialEq for AdaptiveRecommendation
impl PartialEq for AdaptiveRecommendation
Source§fn eq(&self, other: &AdaptiveRecommendation) -> bool
fn eq(&self, other: &AdaptiveRecommendation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AdaptiveRecommendation
Auto Trait Implementations§
impl Freeze for AdaptiveRecommendation
impl RefUnwindSafe for AdaptiveRecommendation
impl Send for AdaptiveRecommendation
impl Sync for AdaptiveRecommendation
impl Unpin for AdaptiveRecommendation
impl UnsafeUnpin for AdaptiveRecommendation
impl UnwindSafe for AdaptiveRecommendation
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