pub struct ConsumerEventDto {
pub position: u64,
pub event: EventDto,
}Expand description
Event DTO with position for consumer polling
Fields§
§position: u64Global offset position (used for acking)
event: EventDtoTrait Implementations§
Source§impl Debug for ConsumerEventDto
impl Debug for ConsumerEventDto
Auto Trait Implementations§
impl Freeze for ConsumerEventDto
impl RefUnwindSafe for ConsumerEventDto
impl Send for ConsumerEventDto
impl Sync for ConsumerEventDto
impl Unpin for ConsumerEventDto
impl UnsafeUnpin for ConsumerEventDto
impl UnwindSafe for ConsumerEventDto
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