Struct fluvio::dataplane::record::Record [−][src]
pub struct Record<B = RecordData> {
pub preamble: RecordHeader,
pub key: Option<B>,
pub value: B,
pub headers: i64,
}
Fields
preamble: RecordHeader
key: Option<B>
value: B
headers: i64
Implementations
add offset delta with new relative base offset
Consumes this record, returning the inner value
pub fn new_key_value<K, V>(key: K, value: V) -> Record<RecordData> where
K: Into<RecordKey>,
V: Into<RecordData>,
Trait Implementations
Auto Trait Implementations
impl<B> RefUnwindSafe for Record<B> where
B: RefUnwindSafe,
impl<B> UnwindSafe for Record<B> where
B: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more