pub struct VectorBatchConfig {
pub max_bytes: u64,
pub max_events: u32,
pub timeout_secs: u32,
}Expand description
Vector 批量配置
Fields§
§max_bytes: u64最大批量大小(字节)
max_events: u32最大批量事件数
timeout_secs: u32批量超时时间(秒)
Trait Implementations§
Source§impl Clone for VectorBatchConfig
impl Clone for VectorBatchConfig
Source§fn clone(&self) -> VectorBatchConfig
fn clone(&self) -> VectorBatchConfig
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 VectorBatchConfig
impl Debug for VectorBatchConfig
Source§impl<'de> Deserialize<'de> for VectorBatchConfig
impl<'de> Deserialize<'de> for VectorBatchConfig
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 VectorBatchConfig
impl RefUnwindSafe for VectorBatchConfig
impl Send for VectorBatchConfig
impl Sync for VectorBatchConfig
impl Unpin for VectorBatchConfig
impl UnwindSafe for VectorBatchConfig
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