pub struct IncidentStorageConfig {
pub use_cache: bool,
pub use_database: bool,
pub retention_days: u32,
}Expand description
Incident storage configuration
Fields§
§use_cache: boolUse in-memory cache (default: true)
use_database: boolUse database persistence (default: true)
retention_days: u32Retention period for resolved incidents (days)
Trait Implementations§
Source§impl Clone for IncidentStorageConfig
impl Clone for IncidentStorageConfig
Source§fn clone(&self) -> IncidentStorageConfig
fn clone(&self) -> IncidentStorageConfig
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 IncidentStorageConfig
impl Debug for IncidentStorageConfig
Source§impl Default for IncidentStorageConfig
impl Default for IncidentStorageConfig
Source§impl<'de> Deserialize<'de> for IncidentStorageConfig
impl<'de> Deserialize<'de> for IncidentStorageConfig
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 IncidentStorageConfig
impl RefUnwindSafe for IncidentStorageConfig
impl Send for IncidentStorageConfig
impl Sync for IncidentStorageConfig
impl Unpin for IncidentStorageConfig
impl UnsafeUnpin for IncidentStorageConfig
impl UnwindSafe for IncidentStorageConfig
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