pub struct AggregateRepresentation {
pub input_unit_level: EntityUnitLevel,
pub output_unit_level: EntityUnitLevel,
pub reducer_id: Option<String>,
pub method: Option<String>,
pub cardinality: RepresentationCardinality,
}Fields§
§input_unit_level: EntityUnitLevel§output_unit_level: EntityUnitLevel§reducer_id: Option<String>§method: Option<String>§cardinality: RepresentationCardinalityImplementations§
Source§impl AggregateRepresentation
impl AggregateRepresentation
pub fn validate(&self) -> Result<(), DagMlError>
Trait Implementations§
Source§impl Clone for AggregateRepresentation
impl Clone for AggregateRepresentation
Source§fn clone(&self) -> AggregateRepresentation
fn clone(&self) -> AggregateRepresentation
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 AggregateRepresentation
impl Debug for AggregateRepresentation
Source§impl<'de> Deserialize<'de> for AggregateRepresentation
impl<'de> Deserialize<'de> for AggregateRepresentation
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregateRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<AggregateRepresentation, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for AggregateRepresentation
impl PartialEq for AggregateRepresentation
Source§fn eq(&self, other: &AggregateRepresentation) -> bool
fn eq(&self, other: &AggregateRepresentation) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for AggregateRepresentation
impl Serialize for AggregateRepresentation
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 AggregateRepresentation
Auto Trait Implementations§
impl Freeze for AggregateRepresentation
impl RefUnwindSafe for AggregateRepresentation
impl Send for AggregateRepresentation
impl Sync for AggregateRepresentation
impl Unpin for AggregateRepresentation
impl UnsafeUnpin for AggregateRepresentation
impl UnwindSafe for AggregateRepresentation
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