Struct zarrs::array::codec::bytes_to_bytes::bz2::Bz2CodecConfigurationV1
source · pub struct Bz2CodecConfigurationV1 {
pub level: Bz2CompressionLevel,
}
Available on crate feature
bz2
only.Expand description
Configuration parameters for the bz2
codec (version 1.0 draft).
§Example: encode with a compression level of 9
{
"level": 9
}
Fields§
§level: Bz2CompressionLevel
The compression level.
Trait Implementations§
source§impl Clone for Bz2CodecConfigurationV1
impl Clone for Bz2CodecConfigurationV1
source§fn clone(&self) -> Bz2CodecConfigurationV1
fn clone(&self) -> Bz2CodecConfigurationV1
Returns a copy 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 Bz2CodecConfigurationV1
impl Debug for Bz2CodecConfigurationV1
source§impl<'de> Deserialize<'de> for Bz2CodecConfigurationV1
impl<'de> Deserialize<'de> for Bz2CodecConfigurationV1
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 Display for Bz2CodecConfigurationV1
impl Display for Bz2CodecConfigurationV1
source§impl From<Bz2CodecConfigurationV1> for Bz2CodecConfiguration
impl From<Bz2CodecConfigurationV1> for Bz2CodecConfiguration
source§fn from(original: Bz2CodecConfigurationV1) -> Bz2CodecConfiguration
fn from(original: Bz2CodecConfigurationV1) -> Bz2CodecConfiguration
Converts to this type from the input type.
source§impl PartialEq for Bz2CodecConfigurationV1
impl PartialEq for Bz2CodecConfigurationV1
source§fn eq(&self, other: &Bz2CodecConfigurationV1) -> bool
fn eq(&self, other: &Bz2CodecConfigurationV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for Bz2CodecConfigurationV1
impl Serialize for Bz2CodecConfigurationV1
impl Eq for Bz2CodecConfigurationV1
impl StructuralPartialEq for Bz2CodecConfigurationV1
Auto Trait Implementations§
impl Freeze for Bz2CodecConfigurationV1
impl RefUnwindSafe for Bz2CodecConfigurationV1
impl Send for Bz2CodecConfigurationV1
impl Sync for Bz2CodecConfigurationV1
impl Unpin for Bz2CodecConfigurationV1
impl UnwindSafe for Bz2CodecConfigurationV1
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.