pub enum SignalAggregation {
WeightedSum,
WeightedAverage,
Max,
Min,
LearnedCombination,
Custom(String),
}Expand description
Methods for aggregating multiple signals
Variants§
WeightedSum
Weighted sum of signals
WeightedAverage
Weighted average
Max
Maximum signal value
Min
Minimum signal value
LearnedCombination
Learning-to-rank combination
Custom(String)
Custom aggregation function
Trait Implementations§
Source§impl Clone for SignalAggregation
impl Clone for SignalAggregation
Source§fn clone(&self) -> SignalAggregation
fn clone(&self) -> SignalAggregation
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SignalAggregation
impl RefUnwindSafe for SignalAggregation
impl Send for SignalAggregation
impl Sync for SignalAggregation
impl Unpin for SignalAggregation
impl UnwindSafe for SignalAggregation
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