#[repr(C)]pub struct HttpCacheWriteOptions {
pub max_age_ns: CacheDurationNs,
pub vary_rule_ptr: *const u8,
pub vary_rule_len: usize,
pub initial_age_ns: CacheDurationNs,
pub stale_while_revalidate_ns: CacheDurationNs,
pub surrogate_keys_ptr: *const u8,
pub surrogate_keys_len: usize,
pub length: CacheObjectLength,
}Fields§
§max_age_ns: CacheDurationNs§vary_rule_ptr: *const u8§vary_rule_len: usize§initial_age_ns: CacheDurationNs§stale_while_revalidate_ns: CacheDurationNs§surrogate_keys_ptr: *const u8§surrogate_keys_len: usize§length: CacheObjectLengthTrait Implementations§
Source§impl Clone for HttpCacheWriteOptions
impl Clone for HttpCacheWriteOptions
Source§fn clone(&self) -> HttpCacheWriteOptions
fn clone(&self) -> HttpCacheWriteOptions
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 HttpCacheWriteOptions
impl Debug for HttpCacheWriteOptions
Source§impl PartialEq for HttpCacheWriteOptions
impl PartialEq for HttpCacheWriteOptions
impl Copy for HttpCacheWriteOptions
impl Eq for HttpCacheWriteOptions
impl StructuralPartialEq for HttpCacheWriteOptions
Auto Trait Implementations§
impl Freeze for HttpCacheWriteOptions
impl RefUnwindSafe for HttpCacheWriteOptions
impl !Send for HttpCacheWriteOptions
impl !Sync for HttpCacheWriteOptions
impl Unpin for HttpCacheWriteOptions
impl UnwindSafe for HttpCacheWriteOptions
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