pub struct CounterConfig {
pub field: String,
pub operation: CounterOperation,
}Expand description
Counter sink configuration
Fields§
§field: StringDefault field name to update
operation: CounterOperationDefault operation
Trait Implementations§
Source§impl Clone for CounterConfig
impl Clone for CounterConfig
Source§fn clone(&self) -> CounterConfig
fn clone(&self) -> CounterConfig
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 CounterConfig
impl RefUnwindSafe for CounterConfig
impl Send for CounterConfig
impl Sync for CounterConfig
impl Unpin for CounterConfig
impl UnsafeUnpin for CounterConfig
impl UnwindSafe for CounterConfig
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