pub struct OverflowConfig {
pub threshold: usize,
pub retention_days: u64,
pub dir: Option<PathBuf>,
}Expand description
Configuration for large tool response offload to filesystem.
Fields§
§threshold: usize§retention_days: u64§dir: Option<PathBuf>Trait Implementations§
Source§impl Clone for OverflowConfig
impl Clone for OverflowConfig
Source§fn clone(&self) -> OverflowConfig
fn clone(&self) -> OverflowConfig
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 OverflowConfig
impl Debug for OverflowConfig
Source§impl Default for OverflowConfig
impl Default for OverflowConfig
Source§impl<'de> Deserialize<'de> for OverflowConfig
impl<'de> Deserialize<'de> for OverflowConfig
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 OverflowConfig
impl RefUnwindSafe for OverflowConfig
impl Send for OverflowConfig
impl Sync for OverflowConfig
impl Unpin for OverflowConfig
impl UnsafeUnpin for OverflowConfig
impl UnwindSafe for OverflowConfig
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