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