pub struct AggregationConfig {
pub explicit_weight: f64,
pub implicit_weight: f64,
}Expand description
Per-kind weights used by the aggregator.
Fields§
§explicit_weight: f64Weight applied to explicit user signals. Default 5.0.
implicit_weight: f64Weight applied to adapter-inferred implicit signals. Default 1.0.
Trait Implementations§
Source§impl Clone for AggregationConfig
impl Clone for AggregationConfig
Source§fn clone(&self) -> AggregationConfig
fn clone(&self) -> AggregationConfig
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 moreSource§impl Debug for AggregationConfig
impl Debug for AggregationConfig
Source§impl Default for AggregationConfig
impl Default for AggregationConfig
Source§impl PartialEq for AggregationConfig
impl PartialEq for AggregationConfig
impl Copy for AggregationConfig
impl StructuralPartialEq for AggregationConfig
Auto Trait Implementations§
impl Freeze for AggregationConfig
impl RefUnwindSafe for AggregationConfig
impl Send for AggregationConfig
impl Sync for AggregationConfig
impl Unpin for AggregationConfig
impl UnsafeUnpin for AggregationConfig
impl UnwindSafe for AggregationConfig
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