pub struct CowString<'s>(pub Cow<'s, str>);Expand description
Owned or borrowed string that can be bound as statement parameter.
Tuple Fields§
§0: Cow<'s, str>Trait Implementations§
Source§impl<'s> OdbcType<'s> for CowString<'s>
impl<'s> OdbcType<'s> for CowString<'s>
fn sql_data_type() -> SqlDataType
fn c_data_type() -> SqlCDataType
fn convert(buffer: &'s [u8]) -> Self
fn column_size(&self) -> SQLULEN
fn value_ptr(&self) -> SQLPOINTER
fn null_bytes_count() -> usize
fn decimal_digits(&self) -> i16
impl<'s> Eq for CowString<'s>
impl<'s> StructuralPartialEq for CowString<'s>
Auto Trait Implementations§
impl<'s> Freeze for CowString<'s>
impl<'s> RefUnwindSafe for CowString<'s>
impl<'s> Send for CowString<'s>
impl<'s> Sync for CowString<'s>
impl<'s> Unpin for CowString<'s>
impl<'s> UnwindSafe for CowString<'s>
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