pub struct UuidText(pub Uuid);Expand description
Bind or read a UUID as canonical lowercase hyphenated SQL text.
Rusqlite’s uuid feature binds a bare UUID as a BLOB instead.
Tuple Fields§
§0: UuidThe UUID to bind or read as text.
Trait Implementations§
Source§impl FromSql for UuidText
impl FromSql for UuidText
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
impl Copy for UuidText
impl Eq for UuidText
impl StructuralPartialEq for UuidText
Auto Trait Implementations§
impl Freeze for UuidText
impl RefUnwindSafe for UuidText
impl Send for UuidText
impl Sync for UuidText
impl Unpin for UuidText
impl UnsafeUnpin for UuidText
impl UnwindSafe for UuidText
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more