Struct akka_persistence_rs::TimestampOffset
source · pub struct TimestampOffset {
pub timestamp: DateTime<Utc>,
pub seq_nr: u64,
}
Fields§
§timestamp: DateTime<Utc>
§seq_nr: u64
Trait Implementations§
source§impl Clone for TimestampOffset
impl Clone for TimestampOffset
source§fn clone(&self) -> TimestampOffset
fn clone(&self) -> TimestampOffset
Returns a copy 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 TimestampOffset
impl Debug for TimestampOffset
source§impl<'de> Deserialize<'de> for TimestampOffset
impl<'de> Deserialize<'de> for TimestampOffset
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for TimestampOffset
impl PartialEq for TimestampOffset
source§fn eq(&self, other: &TimestampOffset) -> bool
fn eq(&self, other: &TimestampOffset) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TimestampOffset
impl PartialOrd for TimestampOffset
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for TimestampOffset
impl Serialize for TimestampOffset
impl StructuralPartialEq for TimestampOffset
Auto Trait Implementations§
impl RefUnwindSafe for TimestampOffset
impl Send for TimestampOffset
impl Sync for TimestampOffset
impl Unpin for TimestampOffset
impl UnwindSafe for TimestampOffset
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