pub struct ActixWebMetricsExtension {
pub cardinality_keep_params: Vec<String>,
}
Expand description
ActixWebMetricsExtension define middleware and config struct to change the behaviour of the metrics struct to define some particularities
Fields§
§cardinality_keep_params: Vec<String>
list of params where the cardinality matters
Trait Implementations§
Source§impl Clone for ActixWebMetricsExtension
impl Clone for ActixWebMetricsExtension
Source§fn clone(&self) -> ActixWebMetricsExtension
fn clone(&self) -> ActixWebMetricsExtension
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 ActixWebMetricsExtension
impl RefUnwindSafe for ActixWebMetricsExtension
impl Send for ActixWebMetricsExtension
impl Sync for ActixWebMetricsExtension
impl Unpin for ActixWebMetricsExtension
impl UnwindSafe for ActixWebMetricsExtension
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