pub struct AggregatorsSpec { /* private fields */ }Implementations§
Source§impl AggregatorsSpec
impl AggregatorsSpec
pub fn new(version: u32) -> Self
pub fn add(self, a: AggregatorSpec) -> Self
pub fn push(&mut self, a: AggregatorSpec)
pub fn version(&self) -> u32
pub fn aggregators(&self) -> &[AggregatorSpec]
pub fn into_aggregators(self) -> Vec<AggregatorSpec>
Trait Implementations§
Source§impl Clone for AggregatorsSpec
impl Clone for AggregatorsSpec
Source§fn clone(&self) -> AggregatorsSpec
fn clone(&self) -> AggregatorsSpec
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 moreAuto Trait Implementations§
impl Freeze for AggregatorsSpec
impl RefUnwindSafe for AggregatorsSpec
impl Send for AggregatorsSpec
impl Sync for AggregatorsSpec
impl Unpin for AggregatorsSpec
impl UnsafeUnpin for AggregatorsSpec
impl UnwindSafe for AggregatorsSpec
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