pub struct Message {
pub version: MetadataVersion,
pub header: Option<MessageHeader>,
pub body_length: i64,
pub custom_metadata: Option<Vec<KeyValue>>,
}Expand description
The table Message in the namespace org.apache.arrow.flatbuf
Generated from these locations:
- Table
Messagein the fileMessage.fbs:150
Fields§
§version: MetadataVersionThe field version in the table Message
header: Option<MessageHeader>The field header in the table Message
body_length: i64The field bodyLength in the table Message
custom_metadata: Option<Vec<KeyValue>>The field custom_metadata in the table Message
Implementations§
Source§impl Message
impl Message
Sourcepub fn builder() -> MessageBuilder<()>
pub fn builder() -> MessageBuilder<()>
Creates a MessageBuilder for serializing an instance of this table.
pub fn create( builder: &mut Builder, field_version: impl WriteAsDefault<MetadataVersion, MetadataVersion>, field_header: impl WriteAsOptionalUnion<MessageHeader>, field_body_length: impl WriteAsDefault<i64, i64>, field_custom_metadata: impl WriteAsOptional<Offset<[Offset<KeyValue>]>>, ) -> Offset<Self>
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Message
impl<'de> Deserialize<'de> for Message
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 Ord for Message
impl Ord for Message
Source§impl PartialOrd for Message
impl PartialOrd for Message
Source§impl<'a> TryFrom<MessageRef<'a>> for Message
impl<'a> TryFrom<MessageRef<'a>> for Message
impl Eq for Message
impl StructuralPartialEq for Message
impl VectorWrite<Offset<Message>> for Message
§Safety
The planus compiler generates implementations that initialize
the bytes in write_values.
impl WriteAs<Offset<Message>> for Message
impl WriteAsOffset<Message> for Message
impl<T0: WriteAsDefault<MetadataVersion, MetadataVersion>, T1: WriteAsOptionalUnion<MessageHeader>, T2: WriteAsDefault<i64, i64>, T3: WriteAsOptional<Offset<[Offset<KeyValue>]>>> WriteAsOffset<Message> for MessageBuilder<(T0, T1, T2, T3)>
impl WriteAsOptional<Offset<Message>> for Message
Auto Trait Implementations§
impl Freeze for Message
impl RefUnwindSafe for Message
impl Send for Message
impl Sync for Message
impl Unpin for Message
impl UnwindSafe for Message
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more