pub struct StalenessConfig {
pub stale_hours: i64,
}Expand description
Configuration for staleness detection.
Fields§
§stale_hours: i64Number of hours after which a scope is considered stale
Trait Implementations§
Source§impl Clone for StalenessConfig
impl Clone for StalenessConfig
Source§fn clone(&self) -> StalenessConfig
fn clone(&self) -> StalenessConfig
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 StalenessConfig
impl Debug for StalenessConfig
Source§impl<'de> Deserialize<'de> for StalenessConfig
impl<'de> Deserialize<'de> for StalenessConfig
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
Source§impl PartialEq for StalenessConfig
impl PartialEq for StalenessConfig
Source§impl Serialize for StalenessConfig
impl Serialize for StalenessConfig
impl StructuralPartialEq for StalenessConfig
Auto Trait Implementations§
impl Freeze for StalenessConfig
impl RefUnwindSafe for StalenessConfig
impl Send for StalenessConfig
impl Sync for StalenessConfig
impl Unpin for StalenessConfig
impl UnwindSafe for StalenessConfig
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