pub struct JsonColumnBytes(/* private fields */);Expand description
UTF-8 JSON payload read from a SQLite column, tolerant of both the canonical BLOB encoding and legacy TEXT rows.
Implementations§
Source§impl JsonColumnBytes
impl JsonColumnBytes
pub fn into_bytes(self) -> Vec<u8> ⓘ
Trait Implementations§
Source§impl FromSql for JsonColumnBytes
impl FromSql for JsonColumnBytes
Source§fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
fn column_result(value: ValueRef<'_>) -> FromSqlResult<Self>
Converts SQLite value into Rust value.
Auto Trait Implementations§
impl Freeze for JsonColumnBytes
impl RefUnwindSafe for JsonColumnBytes
impl Send for JsonColumnBytes
impl Sync for JsonColumnBytes
impl Unpin for JsonColumnBytes
impl UnsafeUnpin for JsonColumnBytes
impl UnwindSafe for JsonColumnBytes
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