pub struct CacheTtlConfig {
pub package_secs: u64,
pub search_secs: u64,
pub forge_secs: u64,
pub releases_secs: u64,
pub runtimes_secs: u64,
}Fields§
§package_secs: u64§search_secs: u64§forge_secs: u64§releases_secs: u64§runtimes_secs: u64Trait Implementations§
Source§impl Clone for CacheTtlConfig
impl Clone for CacheTtlConfig
Source§fn clone(&self) -> CacheTtlConfig
fn clone(&self) -> CacheTtlConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CacheTtlConfig
impl Debug for CacheTtlConfig
Source§impl Default for CacheTtlConfig
impl Default for CacheTtlConfig
Source§impl<'de> Deserialize<'de> for CacheTtlConfigwhere
CacheTtlConfig: Default,
impl<'de> Deserialize<'de> for CacheTtlConfigwhere
CacheTtlConfig: 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 CacheTtlConfig
impl RefUnwindSafe for CacheTtlConfig
impl Send for CacheTtlConfig
impl Sync for CacheTtlConfig
impl Unpin for CacheTtlConfig
impl UnsafeUnpin for CacheTtlConfig
impl UnwindSafe for CacheTtlConfig
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