Struct persistence_config::TagConfig
source · pub struct TagConfig {
pub selectors: Vec<String>,
pub max_bytes: usize,
pub min_seconds_between_fetch: i64,
}
Expand description
Configuration for a single tag for a single service.
See [TaggedPersist
] for the meaning of corresponding fields.
Fields§
§selectors: Vec<String>
§max_bytes: usize
§min_seconds_between_fetch: i64
Trait Implementations§
source§impl PartialEq for TagConfig
impl PartialEq for TagConfig
impl Eq for TagConfig
impl StructuralPartialEq for TagConfig
Auto Trait Implementations§
impl Freeze for TagConfig
impl RefUnwindSafe for TagConfig
impl Send for TagConfig
impl Sync for TagConfig
impl Unpin for TagConfig
impl UnwindSafe for TagConfig
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