Struct sqlx_ledger::TransactionId
source · pub struct TransactionId(/* private fields */);
Implementations§
source§impl TransactionId
impl TransactionId
Trait Implementations§
source§impl Clone for TransactionId
impl Clone for TransactionId
source§fn clone(&self) -> TransactionId
fn clone(&self) -> TransactionId
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 TransactionId
impl Debug for TransactionId
source§impl<'r, DB: Database> Decode<'r, DB> for TransactionId
impl<'r, DB: Database> Decode<'r, DB> for TransactionId
source§impl<'de> Deserialize<'de> for TransactionId
impl<'de> Deserialize<'de> for TransactionId
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 Display for TransactionId
impl Display for TransactionId
source§impl<'q, DB: Database> Encode<'q, DB> for TransactionId
impl<'q, DB: Database> Encode<'q, DB> for TransactionId
source§fn encode_by_ref(
&self,
buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer
) -> IsNull
fn encode_by_ref( &self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer ) -> IsNull
fn produces(&self) -> Option<DB::TypeInfo>
fn size_hint(&self) -> usize
source§fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
fn encode(self, buf: &mut <DB as HasArguments<'q>>::ArgumentBuffer) -> IsNullwhere
Self: Sized,
Writes the value of
self
into buf
in the expected format for the database.source§impl From<&TransactionId> for Uuid
impl From<&TransactionId> for Uuid
source§fn from(id: &TransactionId) -> Self
fn from(id: &TransactionId) -> Self
Converts to this type from the input type.
source§impl From<TransactionId> for CelValue
impl From<TransactionId> for CelValue
source§fn from(id: TransactionId) -> Self
fn from(id: TransactionId) -> Self
Converts to this type from the input type.
source§impl From<TransactionId> for Uuid
impl From<TransactionId> for Uuid
source§fn from(id: TransactionId) -> Self
fn from(id: TransactionId) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for TransactionId
impl From<Uuid> for TransactionId
source§impl FromStr for TransactionId
impl FromStr for TransactionId
source§impl Hash for TransactionId
impl Hash for TransactionId
source§impl Ord for TransactionId
impl Ord for TransactionId
source§fn cmp(&self, other: &TransactionId) -> Ordering
fn cmp(&self, other: &TransactionId) -> 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 TransactionId
impl PartialEq for TransactionId
source§fn eq(&self, other: &TransactionId) -> bool
fn eq(&self, other: &TransactionId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TransactionId
impl PartialOrd for TransactionId
source§fn partial_cmp(&self, other: &TransactionId) -> Option<Ordering>
fn partial_cmp(&self, other: &TransactionId) -> Option<Ordering>
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 PgHasArrayType for TransactionIdwhere
Uuid: PgHasArrayType,
impl PgHasArrayType for TransactionIdwhere
Uuid: PgHasArrayType,
fn array_type_info() -> PgTypeInfo
fn array_compatible(ty: &PgTypeInfo) -> bool
source§impl Serialize for TransactionId
impl Serialize for TransactionId
source§impl<DB: Database> Type<DB> for TransactionId
impl<DB: Database> Type<DB> for TransactionId
impl Copy for TransactionId
impl Eq for TransactionId
impl StructuralPartialEq for TransactionId
Auto Trait Implementations§
impl RefUnwindSafe for TransactionId
impl Send for TransactionId
impl Sync for TransactionId
impl Unpin for TransactionId
impl UnwindSafe for TransactionId
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<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§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.