Struct arrow_format::ipc::BodyCompression
source · pub struct BodyCompression {
pub codec: CompressionType,
pub method: BodyCompressionMethod,
}
Fields§
§codec: CompressionType
§method: BodyCompressionMethod
Implementations§
source§impl BodyCompression
impl BodyCompression
pub fn create( builder: &mut Builder, codec: impl WriteAsDefault<CompressionType, CompressionType>, method: impl WriteAsDefault<BodyCompressionMethod, BodyCompressionMethod> ) -> Offset<Self>
Trait Implementations§
source§impl Clone for BodyCompression
impl Clone for BodyCompression
source§fn clone(&self) -> BodyCompression
fn clone(&self) -> BodyCompression
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 BodyCompression
impl Debug for BodyCompression
source§impl<'de> Deserialize<'de> for BodyCompression
impl<'de> Deserialize<'de> for BodyCompression
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 BodyCompression
impl PartialEq for BodyCompression
source§fn eq(&self, other: &BodyCompression) -> bool
fn eq(&self, other: &BodyCompression) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for BodyCompression
impl Serialize for BodyCompression
source§impl<'a> TryFrom<BodyCompressionRef<'a>> for BodyCompression
impl<'a> TryFrom<BodyCompressionRef<'a>> for BodyCompression
impl StructuralPartialEq for BodyCompression
impl VectorWrite<Offset<BodyCompression>> for BodyCompression
impl WriteAs<Offset<BodyCompression>> for BodyCompression
impl WriteAsOffset<BodyCompression> for BodyCompression
impl WriteAsOptional<Offset<BodyCompression>> for BodyCompression
Auto Trait Implementations§
impl Freeze for BodyCompression
impl RefUnwindSafe for BodyCompression
impl Send for BodyCompression
impl Sync for BodyCompression
impl Unpin for BodyCompression
impl UnwindSafe for BodyCompression
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