pub struct BundlePredictionCacheRecord {Show 14 fields
pub requirement_key: String,
pub cache_id: String,
pub format: String,
pub partition: PredictionPartition,
pub prediction_level: PredictionLevel,
pub fold_ids: Vec<FoldId>,
pub unit_ids: Vec<PredictionUnitId>,
pub sample_ids: Vec<SampleId>,
pub prediction_width: usize,
pub target_names: Vec<String>,
pub block_count: usize,
pub row_count: usize,
pub content_fingerprint: String,
pub blocks: Vec<BundlePredictionBlockCacheRecord>,
}Fields§
§requirement_key: String§cache_id: String§format: String§partition: PredictionPartition§prediction_level: PredictionLevel§fold_ids: Vec<FoldId>§unit_ids: Vec<PredictionUnitId>§sample_ids: Vec<SampleId>§prediction_width: usize§target_names: Vec<String>§block_count: usize§row_count: usize§content_fingerprint: String§blocks: Vec<BundlePredictionBlockCacheRecord>Implementations§
Source§impl BundlePredictionCacheRecord
impl BundlePredictionCacheRecord
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for BundlePredictionCacheRecord
impl Clone for BundlePredictionCacheRecord
Source§fn clone(&self) -> BundlePredictionCacheRecord
fn clone(&self) -> BundlePredictionCacheRecord
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 BundlePredictionCacheRecord
impl Debug for BundlePredictionCacheRecord
Source§impl<'de> Deserialize<'de> for BundlePredictionCacheRecord
impl<'de> Deserialize<'de> for BundlePredictionCacheRecord
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionCacheRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionCacheRecord, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BundlePredictionCacheRecord
impl PartialEq for BundlePredictionCacheRecord
Source§fn eq(&self, other: &BundlePredictionCacheRecord) -> bool
fn eq(&self, other: &BundlePredictionCacheRecord) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BundlePredictionCacheRecord
impl Serialize for BundlePredictionCacheRecord
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 BundlePredictionCacheRecord
Auto Trait Implementations§
impl Freeze for BundlePredictionCacheRecord
impl RefUnwindSafe for BundlePredictionCacheRecord
impl Send for BundlePredictionCacheRecord
impl Sync for BundlePredictionCacheRecord
impl Unpin for BundlePredictionCacheRecord
impl UnsafeUnpin for BundlePredictionCacheRecord
impl UnwindSafe for BundlePredictionCacheRecord
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