Struct fluvio_smartmodule::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
sourceimpl AsRef<[u8]> for RecordData
impl AsRef<[u8]> for RecordData
sourceimpl Clone for RecordData
impl Clone for RecordData
sourcefn clone(&self) -> RecordData
fn clone(&self) -> RecordData
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for RecordData
impl Debug for RecordData
sourceimpl Decoder for RecordData
impl Decoder for RecordData
sourceimpl Default for RecordData
impl Default for RecordData
sourcefn default() -> RecordData
fn default() -> RecordData
Returns the “default value” for a type. Read more
sourceimpl Display for RecordData
impl Display for RecordData
sourceimpl Encoder for RecordData
impl Encoder for RecordData
sourceimpl<V> From<V> for RecordDatawhere
V: Into<Vec<u8, Global>>,
impl<V> From<V> for RecordDatawhere
V: Into<Vec<u8, Global>>,
sourcefn from(value: V) -> RecordData
fn from(value: V) -> RecordData
Converts to this type from the input type.
sourceimpl PartialEq<RecordData> for RecordData
impl PartialEq<RecordData> for RecordData
sourcefn eq(&self, other: &RecordData) -> bool
fn eq(&self, other: &RecordData) -> bool
impl Eq for RecordData
impl StructuralEq for RecordData
impl StructuralPartialEq for RecordData
Auto Trait Implementations
impl RefUnwindSafe for RecordData
impl Send for RecordData
impl Sync for RecordData
impl Unpin for RecordData
impl UnwindSafe for RecordData
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more