pub struct AggregationControllerTask {
pub schema_version: u32,
pub task_id: String,
pub controller_id: ControllerId,
pub policy: AggregationPolicy,
pub reduction_plan: Option<ReductionPlan>,
pub input: AggregationControllerInput,
}Fields§
§schema_version: u32§task_id: String§controller_id: ControllerId§policy: AggregationPolicy§reduction_plan: Option<ReductionPlan>§input: AggregationControllerInputImplementations§
Source§impl AggregationControllerTask
impl AggregationControllerTask
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for AggregationControllerTask
impl Clone for AggregationControllerTask
Source§fn clone(&self) -> AggregationControllerTask
fn clone(&self) -> AggregationControllerTask
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 AggregationControllerTask
impl Debug for AggregationControllerTask
Source§impl<'de> Deserialize<'de> for AggregationControllerTask
impl<'de> Deserialize<'de> for AggregationControllerTask
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregationControllerTask, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregationControllerTask, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregationControllerTask
impl PartialEq for AggregationControllerTask
Source§fn eq(&self, other: &AggregationControllerTask) -> bool
fn eq(&self, other: &AggregationControllerTask) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregationControllerTask
impl Serialize for AggregationControllerTask
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 AggregationControllerTask
Auto Trait Implementations§
impl Freeze for AggregationControllerTask
impl RefUnwindSafe for AggregationControllerTask
impl Send for AggregationControllerTask
impl Sync for AggregationControllerTask
impl Unpin for AggregationControllerTask
impl UnsafeUnpin for AggregationControllerTask
impl UnwindSafe for AggregationControllerTask
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