pub struct ExecutionBundle {Show 14 fields
pub bundle_id: BundleId,
pub schema_version: u32,
pub plan_id: String,
pub graph_fingerprint: String,
pub campaign_fingerprint: String,
pub controller_fingerprint: String,
pub selected_variant_id: Option<VariantId>,
pub selections: BTreeMap<String, SelectionDecision>,
pub refit_artifacts: Vec<RefitArtifactRecord>,
pub prediction_requirements: Vec<BundlePredictionRequirement>,
pub prediction_caches: Vec<BundlePredictionCacheRecord>,
pub data_requirements: Vec<BundleDataRequirement>,
pub unsafe_flags: BTreeSet<String>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§bundle_id: BundleId§schema_version: u32§plan_id: String§graph_fingerprint: String§campaign_fingerprint: String§controller_fingerprint: String§selected_variant_id: Option<VariantId>§selections: BTreeMap<String, SelectionDecision>§refit_artifacts: Vec<RefitArtifactRecord>§prediction_requirements: Vec<BundlePredictionRequirement>§prediction_caches: Vec<BundlePredictionCacheRecord>§data_requirements: Vec<BundleDataRequirement>§unsafe_flags: BTreeSet<String>§metadata: BTreeMap<String, Value>Implementations§
Source§impl ExecutionBundle
impl ExecutionBundle
pub fn validate(&self) -> Result<(), DagMlError>
pub fn validate_against_plan( &self, plan: &ExecutionPlan, ) -> Result<(), DagMlError>
pub fn validate_replay_envelopes( &self, envelopes: &BTreeMap<String, ExternalDataPlanEnvelope>, ) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for ExecutionBundle
impl Clone for ExecutionBundle
Source§fn clone(&self) -> ExecutionBundle
fn clone(&self) -> ExecutionBundle
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 ExecutionBundle
impl Debug for ExecutionBundle
Source§impl<'de> Deserialize<'de> for ExecutionBundle
impl<'de> Deserialize<'de> for ExecutionBundle
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionBundle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionBundle, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExecutionBundle
impl PartialEq for ExecutionBundle
Source§fn eq(&self, other: &ExecutionBundle) -> bool
fn eq(&self, other: &ExecutionBundle) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ExecutionBundle
impl Serialize for ExecutionBundle
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 ExecutionBundle
Auto Trait Implementations§
impl Freeze for ExecutionBundle
impl RefUnwindSafe for ExecutionBundle
impl Send for ExecutionBundle
impl Sync for ExecutionBundle
impl Unpin for ExecutionBundle
impl UnsafeUnpin for ExecutionBundle
impl UnwindSafe for ExecutionBundle
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