pub struct ZipConfig {
pub max_decompressed_size: u64,
pub max_input_size: u64,
pub compression_level: Option<i32>,
pub allow_multi_entry: bool,
}Fields§
§max_decompressed_size: u64§max_input_size: u64Maximum materialized input size accepted by marshal (DoS cap, R3-L1).
compression_level: Option<i32>§allow_multi_entry: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for ZipConfig
impl<'de> Deserialize<'de> for ZipConfig
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
Auto Trait Implementations§
impl Freeze for ZipConfig
impl RefUnwindSafe for ZipConfig
impl Send for ZipConfig
impl Sync for ZipConfig
impl Unpin for ZipConfig
impl UnsafeUnpin for ZipConfig
impl UnwindSafe for ZipConfig
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