pub struct TimestampSpec { /* private fields */ }Expand description
The offset whose timestamp is greater than or equal to a requested timestamp (in milliseconds).
Java keeps its constructor and timestamp() package-private: the value is
built with OffsetSpec::for_timestamp and only KafkaAdminClient’s
getOffsetFromSpec reads it, so outside the crate it is opaque.
Trait Implementations§
Source§impl Clone for TimestampSpec
impl Clone for TimestampSpec
Source§fn clone(&self) -> TimestampSpec
fn clone(&self) -> TimestampSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TimestampSpec
impl RefUnwindSafe for TimestampSpec
impl Send for TimestampSpec
impl Sync for TimestampSpec
impl Unpin for TimestampSpec
impl UnsafeUnpin for TimestampSpec
impl UnwindSafe for TimestampSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more