pub struct ResponseCacheConfig {
pub max_entries: usize,
pub default_max_age_secs: u64,
}Expand description
Cache configuration.
Fields§
§max_entries: usize§default_max_age_secs: u64Trait Implementations§
Source§impl Clone for ResponseCacheConfig
impl Clone for ResponseCacheConfig
Source§fn clone(&self) -> ResponseCacheConfig
fn clone(&self) -> ResponseCacheConfig
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 ResponseCacheConfig
impl Debug for ResponseCacheConfig
Auto Trait Implementations§
impl Freeze for ResponseCacheConfig
impl RefUnwindSafe for ResponseCacheConfig
impl Send for ResponseCacheConfig
impl Sync for ResponseCacheConfig
impl Unpin for ResponseCacheConfig
impl UnsafeUnpin for ResponseCacheConfig
impl UnwindSafe for ResponseCacheConfig
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