pub struct FlowRecordingConfig {
pub enabled: bool,
pub group_by: String,
pub time_window_seconds: u64,
}Expand description
Flow recording configuration
Fields§
§enabled: boolWhether flow recording is enabled
group_by: StringHow to group requests into flows (trace_id, session_id, ip_time_window)
time_window_seconds: u64Time window in seconds for IP-based grouping
Trait Implementations§
Source§impl Clone for FlowRecordingConfig
impl Clone for FlowRecordingConfig
Source§fn clone(&self) -> FlowRecordingConfig
fn clone(&self) -> FlowRecordingConfig
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 FlowRecordingConfig
impl Debug for FlowRecordingConfig
Source§impl Default for FlowRecordingConfig
impl Default for FlowRecordingConfig
Source§impl<'de> Deserialize<'de> for FlowRecordingConfigwhere
FlowRecordingConfig: Default,
impl<'de> Deserialize<'de> for FlowRecordingConfigwhere
FlowRecordingConfig: Default,
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for FlowRecordingConfig
impl RefUnwindSafe for FlowRecordingConfig
impl Send for FlowRecordingConfig
impl Sync for FlowRecordingConfig
impl Unpin for FlowRecordingConfig
impl UnsafeUnpin for FlowRecordingConfig
impl UnwindSafe for FlowRecordingConfig
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