pub enum CacheVisibility {
NoStore,
Private,
Public,
}Expand description
HTTP response cache visibility.
Variants§
NoStore
Do not store the response.
Private
Only private client caches may store the response.
Public
Shared and private caches may store the response.
Trait Implementations§
Source§impl Clone for CacheVisibility
impl Clone for CacheVisibility
Source§fn clone(&self) -> CacheVisibility
fn clone(&self) -> CacheVisibility
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 moreimpl Copy for CacheVisibility
Source§impl Debug for CacheVisibility
impl Debug for CacheVisibility
impl Eq for CacheVisibility
Source§impl PartialEq for CacheVisibility
impl PartialEq for CacheVisibility
impl StructuralPartialEq for CacheVisibility
Auto Trait Implementations§
impl Freeze for CacheVisibility
impl RefUnwindSafe for CacheVisibility
impl Send for CacheVisibility
impl Sync for CacheVisibility
impl Unpin for CacheVisibility
impl UnsafeUnpin for CacheVisibility
impl UnwindSafe for CacheVisibility
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