Struct sqlx_ledger::TxTemplateId
source · pub struct TxTemplateId(/* private fields */);
Implementations§
source§impl TxTemplateId
impl TxTemplateId
Trait Implementations§
source§impl Clone for TxTemplateId
impl Clone for TxTemplateId
source§fn clone(&self) -> TxTemplateId
fn clone(&self) -> TxTemplateId
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 TxTemplateId
impl Debug for TxTemplateId
source§impl<'r, DB: Database> Decode<'r, DB> for TxTemplateId
impl<'r, DB: Database> Decode<'r, DB> for TxTemplateId
source§impl<'de> Deserialize<'de> for TxTemplateId
impl<'de> Deserialize<'de> for TxTemplateId
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 TxTemplateId
impl Display for TxTemplateId
source§impl<'q, DB: Database> Encode<'q, DB> for TxTemplateId
impl<'q, DB: Database> Encode<'q, DB> for TxTemplateId
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<&TxTemplateId> for Uuid
impl From<&TxTemplateId> for Uuid
source§fn from(id: &TxTemplateId) -> Self
fn from(id: &TxTemplateId) -> Self
Converts to this type from the input type.
source§impl From<TxTemplateId> for CelValue
impl From<TxTemplateId> for CelValue
source§fn from(id: TxTemplateId) -> Self
fn from(id: TxTemplateId) -> Self
Converts to this type from the input type.
source§impl From<TxTemplateId> for Uuid
impl From<TxTemplateId> for Uuid
source§fn from(id: TxTemplateId) -> Self
fn from(id: TxTemplateId) -> Self
Converts to this type from the input type.
source§impl From<Uuid> for TxTemplateId
impl From<Uuid> for TxTemplateId
source§impl FromStr for TxTemplateId
impl FromStr for TxTemplateId
source§impl Hash for TxTemplateId
impl Hash for TxTemplateId
source§impl Ord for TxTemplateId
impl Ord for TxTemplateId
source§fn cmp(&self, other: &TxTemplateId) -> Ordering
fn cmp(&self, other: &TxTemplateId) -> 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 TxTemplateId
impl PartialEq for TxTemplateId
source§fn eq(&self, other: &TxTemplateId) -> bool
fn eq(&self, other: &TxTemplateId) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for TxTemplateId
impl PartialOrd for TxTemplateId
source§fn partial_cmp(&self, other: &TxTemplateId) -> Option<Ordering>
fn partial_cmp(&self, other: &TxTemplateId) -> 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 TxTemplateIdwhere
Uuid: PgHasArrayType,
impl PgHasArrayType for TxTemplateIdwhere
Uuid: PgHasArrayType,
fn array_type_info() -> PgTypeInfo
fn array_compatible(ty: &PgTypeInfo) -> bool
source§impl Serialize for TxTemplateId
impl Serialize for TxTemplateId
source§impl<DB: Database> Type<DB> for TxTemplateId
impl<DB: Database> Type<DB> for TxTemplateId
impl Copy for TxTemplateId
impl Eq for TxTemplateId
impl StructuralPartialEq for TxTemplateId
Auto Trait Implementations§
impl RefUnwindSafe for TxTemplateId
impl Send for TxTemplateId
impl Sync for TxTemplateId
impl Unpin for TxTemplateId
impl UnwindSafe for TxTemplateId
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.