pub struct BundlePredictionCachePayloadSet {
pub bundle_id: BundleId,
pub schema_version: u32,
pub caches: Vec<BundlePredictionCachePayload>,
}Fields§
§bundle_id: BundleId§schema_version: u32§caches: Vec<BundlePredictionCachePayload>Implementations§
Source§impl BundlePredictionCachePayloadSet
impl BundlePredictionCachePayloadSet
pub fn validate(&self) -> Result<(), DagMlError>
pub fn validate_against_bundle( &self, bundle: &ExecutionBundle, ) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for BundlePredictionCachePayloadSet
impl Clone for BundlePredictionCachePayloadSet
Source§fn clone(&self) -> BundlePredictionCachePayloadSet
fn clone(&self) -> BundlePredictionCachePayloadSet
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 BundlePredictionCachePayloadSet
impl<'de> Deserialize<'de> for BundlePredictionCachePayloadSet
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionCachePayloadSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<BundlePredictionCachePayloadSet, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for BundlePredictionCachePayloadSet
impl PartialEq for BundlePredictionCachePayloadSet
Source§fn eq(&self, other: &BundlePredictionCachePayloadSet) -> bool
fn eq(&self, other: &BundlePredictionCachePayloadSet) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for BundlePredictionCachePayloadSet
impl Serialize for BundlePredictionCachePayloadSet
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 BundlePredictionCachePayloadSet
Auto Trait Implementations§
impl Freeze for BundlePredictionCachePayloadSet
impl RefUnwindSafe for BundlePredictionCachePayloadSet
impl Send for BundlePredictionCachePayloadSet
impl Sync for BundlePredictionCachePayloadSet
impl Unpin for BundlePredictionCachePayloadSet
impl UnsafeUnpin for BundlePredictionCachePayloadSet
impl UnwindSafe for BundlePredictionCachePayloadSet
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