Struct fluvio_smartmodule::dataplane::record::RecordData
source · pub struct RecordData(_);Expand description
A type containing the data contents of a Record.
The RecordData type provides useful conversions for
constructing it from any type that may convert into a Vec<u8>.
This is the basis for flexible APIs that allow users to supply
various different argument types as record contents. See
the Producer API as an example.
Implementations§
Trait Implementations§
source§impl AsRef<[u8]> for RecordData
impl AsRef<[u8]> for RecordData
source§impl Clone for RecordData
impl Clone for RecordData
source§fn clone(&self) -> RecordData
fn clone(&self) -> RecordData
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 RecordData
impl Debug for RecordData
source§impl Decoder for RecordData
impl Decoder for RecordData
source§impl Default for RecordData
impl Default for RecordData
source§fn default() -> RecordData
fn default() -> RecordData
Returns the “default value” for a type. Read more
source§impl Display for RecordData
impl Display for RecordData
source§impl Encoder for RecordData
impl Encoder for RecordData
source§impl<V> From<V> for RecordDatawhere
V: Into<Vec<u8, Global>>,
impl<V> From<V> for RecordDatawhere V: Into<Vec<u8, Global>>,
source§fn from(value: V) -> RecordData
fn from(value: V) -> RecordData
Converts to this type from the input type.
source§impl Hash for RecordData
impl Hash for RecordData
source§impl PartialEq<RecordData> for RecordData
impl PartialEq<RecordData> for RecordData
source§fn eq(&self, other: &RecordData) -> bool
fn eq(&self, other: &RecordData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.