pub struct MessagePosition {
pub position: usize,
pub revision: usize,
}Fields§
§position: usizeThe global position of a message in the store. The first position should have an index of 0.
revision: usizeThe position of a message within its stream. The first position should have an index of 0.
Trait Implementations§
Source§impl Clone for MessagePosition
impl Clone for MessagePosition
Source§fn clone(&self) -> MessagePosition
fn clone(&self) -> MessagePosition
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 moreSource§impl Debug for MessagePosition
impl Debug for MessagePosition
Source§impl PartialEq for MessagePosition
impl PartialEq for MessagePosition
impl Copy for MessagePosition
impl Eq for MessagePosition
impl StructuralPartialEq for MessagePosition
Auto Trait Implementations§
impl Freeze for MessagePosition
impl RefUnwindSafe for MessagePosition
impl Send for MessagePosition
impl Sync for MessagePosition
impl Unpin for MessagePosition
impl UnwindSafe for MessagePosition
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