Struct nakadi_types::partition::CursorDistanceResult [−][src]
pub struct CursorDistanceResult { pub query: CursorDistanceQuery, pub distance: u64, }
Expand description
A result for CursorDistanceQuery
See also Nakadi Manual
Fields
query: CursorDistanceQuery
distance: u64
Number of events between two offsets. Initial offset is exclusive. It’s only zero when both provided offsets are equal.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]Deserialize this value from the given Serde deserializer. Read more
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 CursorDistanceResult
impl Send for CursorDistanceResult
impl Sync for CursorDistanceResult
impl Unpin for CursorDistanceResult
impl UnwindSafe for CursorDistanceResult
Blanket Implementations
Mutably borrows from an owned value. Read more