pub struct BundlePredictionBlockCacheRecord {
pub prediction_id: Option<String>,
pub fold_id: Option<FoldId>,
pub prediction_level: PredictionLevel,
pub row_count: usize,
pub unit_ids: Vec<PredictionUnitId>,
pub sample_ids: Vec<SampleId>,
pub content_fingerprint: String,
}Fields§
§prediction_id: Option<String>§fold_id: Option<FoldId>§prediction_level: PredictionLevel§row_count: usize§unit_ids: Vec<PredictionUnitId>§sample_ids: Vec<SampleId>§content_fingerprint: StringImplementations§
Source§impl BundlePredictionBlockCacheRecord
impl BundlePredictionBlockCacheRecord
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for BundlePredictionBlockCacheRecord
impl Clone for BundlePredictionBlockCacheRecord
Source§fn clone(&self) -> BundlePredictionBlockCacheRecord
fn clone(&self) -> BundlePredictionBlockCacheRecord
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<'de> Deserialize<'de> for BundlePredictionBlockCacheRecord
impl<'de> Deserialize<'de> for BundlePredictionBlockCacheRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionBlockCacheRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionBlockCacheRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BundlePredictionBlockCacheRecord
impl PartialEq for BundlePredictionBlockCacheRecord
Source§fn eq(&self, other: &BundlePredictionBlockCacheRecord) -> bool
fn eq(&self, other: &BundlePredictionBlockCacheRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BundlePredictionBlockCacheRecord
impl Serialize for BundlePredictionBlockCacheRecord
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for BundlePredictionBlockCacheRecord
Auto Trait Implementations§
impl Freeze for BundlePredictionBlockCacheRecord
impl RefUnwindSafe for BundlePredictionBlockCacheRecord
impl Send for BundlePredictionBlockCacheRecord
impl Sync for BundlePredictionBlockCacheRecord
impl Unpin for BundlePredictionBlockCacheRecord
impl UnsafeUnpin for BundlePredictionBlockCacheRecord
impl UnwindSafe for BundlePredictionBlockCacheRecord
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