Struct sqlx_ledger::JournalId
source · pub struct JournalId(/* private fields */);
Implementations§
Trait Implementations§
source§impl<'de> Deserialize<'de> for JournalId
impl<'de> Deserialize<'de> for JournalId
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<'q, DB: Database> Encode<'q, DB> for JournalId
impl<'q, DB: Database> Encode<'q, DB> for JournalId
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 Ord for JournalId
impl Ord for JournalId
source§impl PartialEq for JournalId
impl PartialEq for JournalId
source§impl PartialOrd for JournalId
impl PartialOrd for JournalId
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 JournalIdwhere
Uuid: PgHasArrayType,
impl PgHasArrayType for JournalIdwhere
Uuid: PgHasArrayType,
fn array_type_info() -> PgTypeInfo
fn array_compatible(ty: &PgTypeInfo) -> bool
impl Copy for JournalId
impl Eq for JournalId
impl StructuralPartialEq for JournalId
Auto Trait Implementations§
impl RefUnwindSafe for JournalId
impl Send for JournalId
impl Sync for JournalId
impl Unpin for JournalId
impl UnwindSafe for JournalId
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.