pub struct CombinationPlan {
pub mode: CombinationMode,
pub component_source_ids: Vec<String>,
pub component_unit_ids: Vec<String>,
pub match_key: Option<String>,
pub reference_source_id: Option<String>,
pub seed: Option<u64>,
pub cap: Option<usize>,
pub budget: Option<usize>,
pub missing_source_policy: Option<RepresentationMissingSourcePolicy>,
pub metadata: BTreeMap<String, Value>,
}Fields§
§mode: CombinationMode§component_source_ids: Vec<String>§component_unit_ids: Vec<String>§match_key: Option<String>§reference_source_id: Option<String>§seed: Option<u64>§cap: Option<usize>§budget: Option<usize>§missing_source_policy: Option<RepresentationMissingSourcePolicy>§metadata: BTreeMap<String, Value>Implementations§
Source§impl CombinationPlan
impl CombinationPlan
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for CombinationPlan
impl Clone for CombinationPlan
Source§fn clone(&self) -> CombinationPlan
fn clone(&self) -> CombinationPlan
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 CombinationPlan
impl Debug for CombinationPlan
Source§impl Default for CombinationPlan
impl Default for CombinationPlan
Source§fn default() -> CombinationPlan
fn default() -> CombinationPlan
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CombinationPlan
impl<'de> Deserialize<'de> for CombinationPlan
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CombinationPlan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CombinationPlan, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for CombinationPlan
impl PartialEq for CombinationPlan
Source§fn eq(&self, other: &CombinationPlan) -> bool
fn eq(&self, other: &CombinationPlan) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CombinationPlan
impl Serialize for CombinationPlan
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 CombinationPlan
Auto Trait Implementations§
impl Freeze for CombinationPlan
impl RefUnwindSafe for CombinationPlan
impl Send for CombinationPlan
impl Sync for CombinationPlan
impl Unpin for CombinationPlan
impl UnsafeUnpin for CombinationPlan
impl UnwindSafe for CombinationPlan
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