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