#[non_exhaustive]pub enum Packing {
Simple(SimplePacking),
Complex(ComplexPacking),
Jpeg2000(Jpeg2000Packing),
}Expand description
How a field’s values are packed: data representation template 5.0, 5.2, 5.3 or 5.40.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Simple(SimplePacking)
Template 5.0.
Complex(ComplexPacking)
Templates 5.2 and 5.3.
Jpeg2000(Jpeg2000Packing)
Template 5.40.
Implementations§
Trait Implementations§
impl Copy for Packing
Source§impl<'de> Deserialize<'de> for Packing
impl<'de> Deserialize<'de> for Packing
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 Packing
Auto Trait Implementations§
impl Freeze for Packing
impl RefUnwindSafe for Packing
impl Send for Packing
impl Sync for Packing
impl Unpin for Packing
impl UnsafeUnpin for Packing
impl UnwindSafe for Packing
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