Struct fluvio_dataplane_protocol::record::Record [−][src]
pub struct Record<B = RecordData> {
pub preamble: RecordHeader,
pub key: Option<B>,
pub value: B,
pub headers: i64,
}Fields
preamble: RecordHeaderkey: Option<B>value: Bheaders: i64Implementations
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) -> Self 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
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