pub struct ChunkingConfig {
pub window_secs: u64,
}Expand description
Controls how log batches are grouped into discrete chunk files.
Fields§
§window_secs: u64Length of each chunk’s time window, in seconds (default: 1 hour).
Trait Implementations§
Source§impl Clone for ChunkingConfig
impl Clone for ChunkingConfig
Source§impl Debug for ChunkingConfig
impl Debug for ChunkingConfig
Source§impl Default for ChunkingConfig
impl Default for ChunkingConfig
Source§impl<'de> Deserialize<'de> for ChunkingConfigwhere
ChunkingConfig: Default,
impl<'de> Deserialize<'de> for ChunkingConfigwhere
ChunkingConfig: 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 ChunkingConfig
impl RefUnwindSafe for ChunkingConfig
impl Send for ChunkingConfig
impl Sync for ChunkingConfig
impl Unpin for ChunkingConfig
impl UnsafeUnpin for ChunkingConfig
impl UnwindSafe for ChunkingConfig
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