Struct rbdc_sqlite::value::SqliteValue
source · [−]pub struct SqliteValue { /* private fields */ }
Implementations
sourceimpl SqliteValue
impl SqliteValue
pub fn type_info_opt(&self) -> Option<SqliteTypeInfo>
pub fn int(&self) -> i32
pub fn int64(&self) -> i64
pub fn double(&self) -> f64
pub fn blob(&self) -> &[u8]ⓘNotable traits for &[u8]impl Read for &[u8]impl Write for &mut [u8]
pub fn text(&self) -> Result<&str, Error>
sourceimpl SqliteValue
impl SqliteValue
pub fn as_ref(&self) -> SqliteValueRef<'_>
pub fn type_info(&self) -> Cow<'_, SqliteTypeInfo>
pub fn is_null(&self) -> bool
Trait Implementations
sourceimpl Clone for SqliteValue
impl Clone for SqliteValue
sourcefn clone(&self) -> SqliteValue
fn clone(&self) -> SqliteValue
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for SqliteValue
impl Send for SqliteValue
impl Sync for SqliteValue
impl Unpin for SqliteValue
impl UnwindSafe for SqliteValue
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more