pub struct DataInfo {
pub sample_count: usize,
pub quality_score: f64,
pub diversity_score: f64,
pub label_distribution: HashMap<String, f64>,
pub freshness_hours: f64,
pub privacy_level: PrivacyLevel,
}Expand description
Data characteristics on a device
Fields§
§sample_count: usizeNumber of data samples
quality_score: f64Data quality score (0-1)
diversity_score: f64Data diversity score (0-1)
label_distribution: HashMap<String, f64>Label distribution
freshness_hours: f64Data freshness (how recent)
privacy_level: PrivacyLevelPrivacy sensitivity level
Trait Implementations§
Source§impl<'de> Deserialize<'de> for DataInfo
impl<'de> Deserialize<'de> for DataInfo
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for DataInfo
impl RefUnwindSafe for DataInfo
impl Send for DataInfo
impl Sync for DataInfo
impl Unpin for DataInfo
impl UnsafeUnpin for DataInfo
impl UnwindSafe for DataInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more