Struct fluvio_smartmodule::dataplane::record::ConsumerRecord
source · pub struct ConsumerRecord<B = Record<RecordData>> {
pub offset: i64,
pub partition: u32,
pub record: B,
/* private fields */
}Expand description
Record that can be used by Consumer which needs access to metadata
Fields§
§offset: i64The offset of this Record into its partition
partition: u32The partition where this Record is stored
record: BThe Record contents
Implementations§
source§impl<B> ConsumerRecord<B>
impl<B> ConsumerRecord<B>
sourcepub fn into_inner(self) -> B
pub fn into_inner(self) -> B
Returns the inner representation of the Record