Enum arrow_format::ipc::MessageHeader
source · pub enum MessageHeader {
Schema(Box<Schema>),
DictionaryBatch(Box<DictionaryBatch>),
RecordBatch(Box<RecordBatch>),
Tensor(Box<Tensor>),
SparseTensor(Box<SparseTensor>),
}
Variants§
Schema(Box<Schema>)
DictionaryBatch(Box<DictionaryBatch>)
RecordBatch(Box<RecordBatch>)
Tensor(Box<Tensor>)
SparseTensor(Box<SparseTensor>)
Implementations§
source§impl MessageHeader
impl MessageHeader
pub fn create_schema( builder: &mut Builder, value: impl WriteAsOffset<Schema> ) -> UnionOffset<Self>
pub fn create_dictionary_batch( builder: &mut Builder, value: impl WriteAsOffset<DictionaryBatch> ) -> UnionOffset<Self>
pub fn create_record_batch( builder: &mut Builder, value: impl WriteAsOffset<RecordBatch> ) -> UnionOffset<Self>
pub fn create_tensor( builder: &mut Builder, value: impl WriteAsOffset<Tensor> ) -> UnionOffset<Self>
pub fn create_sparse_tensor( builder: &mut Builder, value: impl WriteAsOffset<SparseTensor> ) -> UnionOffset<Self>
Trait Implementations§
source§impl Clone for MessageHeader
impl Clone for MessageHeader
source§fn clone(&self) -> MessageHeader
fn clone(&self) -> MessageHeader
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 MessageHeader
impl Debug for MessageHeader
source§impl<'de> Deserialize<'de> for MessageHeader
impl<'de> Deserialize<'de> for MessageHeader
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 MessageHeader
impl PartialEq for MessageHeader
source§fn eq(&self, other: &MessageHeader) -> bool
fn eq(&self, other: &MessageHeader) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageHeader
impl Serialize for MessageHeader
source§impl<'a> TryFrom<MessageHeaderRef<'a>> for MessageHeader
impl<'a> TryFrom<MessageHeaderRef<'a>> for MessageHeader
impl StructuralPartialEq for MessageHeader
impl WriteAsOptionalUnion<MessageHeader> for MessageHeader
impl WriteAsUnion<MessageHeader> for MessageHeader
Auto Trait Implementations§
impl Freeze for MessageHeader
impl RefUnwindSafe for MessageHeader
impl Send for MessageHeader
impl Sync for MessageHeader
impl Unpin for MessageHeader
impl UnwindSafe for MessageHeader
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