pub enum CachedResponseType {
Basic,
Cors,
Default,
Error,
OpaqueResponse,
OpaqueRedirect,
}Variants§
Trait Implementations§
Source§impl Clone for CachedResponseType
impl Clone for CachedResponseType
Source§fn clone(&self) -> CachedResponseType
fn clone(&self) -> CachedResponseType
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 CachedResponseType
impl Debug for CachedResponseType
Source§impl<'de> Deserialize<'de> for CachedResponseType
impl<'de> Deserialize<'de> for CachedResponseType
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 CachedResponseType
impl PartialEq for CachedResponseType
Source§impl Serialize for CachedResponseType
impl Serialize for CachedResponseType
impl StructuralPartialEq for CachedResponseType
Auto Trait Implementations§
impl Freeze for CachedResponseType
impl RefUnwindSafe for CachedResponseType
impl Send for CachedResponseType
impl Sync for CachedResponseType
impl Unpin for CachedResponseType
impl UnwindSafe for CachedResponseType
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