pub struct Gzip {
pub cache_condition: Option<String>,
pub content_types: Option<String>,
pub extensions: Option<String>,
pub name: Option<String>,
}
Fields§
§cache_condition: Option<String>
Name of the cache condition controlling when this configuration applies.
content_types: Option<String>
Space-separated list of content types to compress. If you omit this field a default list will be used.
extensions: Option<String>
Space-separated list of file extensions to compress. If you omit this field a default list will be used.
name: Option<String>
Name of the gzip configuration.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Gzip
impl<'de> Deserialize<'de> for Gzip
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
impl StructuralPartialEq for Gzip
Auto Trait Implementations§
impl Freeze for Gzip
impl RefUnwindSafe for Gzip
impl Send for Gzip
impl Sync for Gzip
impl Unpin for Gzip
impl UnwindSafe for Gzip
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