pub struct PaymentUpdatedIndex {
pub updated_at: TimestampMs,
pub id: PaymentId,
}Expand description
A unique, ordered payment identifier: (updated_at, payment_id).
Like PaymentCreatedIndex, but ordered by updated_at instead of
created_at. Serialized as "u<updated_at>-<id>".
Fields§
§updated_at: TimestampMs§id: PaymentIdImplementations§
Source§impl PaymentUpdatedIndex
impl PaymentUpdatedIndex
Sourcepub const MIN: PaymentUpdatedIndex
pub const MIN: PaymentUpdatedIndex
The index that is lexicographically <= all other indexes.
Sourcepub const MAX: PaymentUpdatedIndex
pub const MAX: PaymentUpdatedIndex
The index that is lexicographically >= all other indexes.
Trait Implementations§
Source§impl Clone for PaymentUpdatedIndex
impl Clone for PaymentUpdatedIndex
Source§fn clone(&self) -> PaymentUpdatedIndex
fn clone(&self) -> PaymentUpdatedIndex
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 PaymentUpdatedIndex
impl Debug for PaymentUpdatedIndex
Source§impl<'de> Deserialize<'de> for PaymentUpdatedIndex
impl<'de> Deserialize<'de> for PaymentUpdatedIndex
Source§fn deserialize<__D>(
deserializer: __D,
) -> Result<PaymentUpdatedIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
deserializer: __D,
) -> Result<PaymentUpdatedIndex, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for PaymentUpdatedIndex
u<updated_at>-<id>
impl Display for PaymentUpdatedIndex
u<updated_at>-<id>
Source§impl FromStr for PaymentUpdatedIndex
u<updated_at>-<id>
impl FromStr for PaymentUpdatedIndex
u<updated_at>-<id>
Source§impl Ord for PaymentUpdatedIndex
impl Ord for PaymentUpdatedIndex
Source§fn cmp(&self, other: &PaymentUpdatedIndex) -> Ordering
fn cmp(&self, other: &PaymentUpdatedIndex) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for PaymentUpdatedIndex
impl PartialEq for PaymentUpdatedIndex
Source§impl PartialOrd for PaymentUpdatedIndex
impl PartialOrd for PaymentUpdatedIndex
Source§impl Serialize for PaymentUpdatedIndexwhere
PaymentUpdatedIndex: Display,
impl Serialize for PaymentUpdatedIndexwhere
PaymentUpdatedIndex: Display,
Source§fn serialize<__S>(
&self,
serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Copy for PaymentUpdatedIndex
impl Eq for PaymentUpdatedIndex
impl StructuralPartialEq for PaymentUpdatedIndex
Auto Trait Implementations§
impl Freeze for PaymentUpdatedIndex
impl RefUnwindSafe for PaymentUpdatedIndex
impl Send for PaymentUpdatedIndex
impl Sync for PaymentUpdatedIndex
impl Unpin for PaymentUpdatedIndex
impl UnsafeUnpin for PaymentUpdatedIndex
impl UnwindSafe for PaymentUpdatedIndex
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<T> ToStringFallible for Twhere
T: Display,
impl<T> ToStringFallible for Twhere
T: Display,
Source§fn try_to_string(&self) -> Result<String, TryReserveError>
fn try_to_string(&self) -> Result<String, TryReserveError>
ToString::to_string, but without panic on OOM.