Struct dataflow_types::sources::KafkaOffset [−][src]
pub struct KafkaOffset {
pub offset: i64,
}
Fields
offset: i64
Trait Implementations
Convert from KafkaOffset to MzOffset (1-indexed)
Performs the conversion.
Convert from MzOffset to Kafka::Offset as long as the offset is not negative
Performs the conversion.
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for KafkaOffset
impl Send for KafkaOffset
impl Sync for KafkaOffset
impl Unpin for KafkaOffset
impl UnwindSafe for KafkaOffset
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.
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