pub struct StringUtf16(pub Vec<u16>);Expand description
UTF-16 encoded string that can be bound as statement parameter.
Tuple Fields§
§0: Vec<u16>Trait Implementations§
Source§impl Debug for StringUtf16
impl Debug for StringUtf16
Source§impl From<&str> for StringUtf16
impl From<&str> for StringUtf16
Source§fn from(s: &str) -> StringUtf16
fn from(s: &str) -> StringUtf16
Converts to this type from the input type.
Source§impl From<String> for StringUtf16
impl From<String> for StringUtf16
Source§fn from(s: String) -> StringUtf16
fn from(s: String) -> StringUtf16
Converts to this type from the input type.
Source§impl<'a> OdbcType<'a> for StringUtf16
impl<'a> OdbcType<'a> for StringUtf16
fn sql_data_type() -> SqlDataType
fn c_data_type() -> SqlCDataType
fn convert(buffer: &[u8]) -> Self
fn column_size(&self) -> SQLULEN
fn value_ptr(&self) -> SQLPOINTER
fn null_bytes_count() -> usize
fn decimal_digits(&self) -> i16
Source§impl PartialEq for StringUtf16
impl PartialEq for StringUtf16
impl Eq for StringUtf16
impl StructuralPartialEq for StringUtf16
Auto Trait Implementations§
impl Freeze for StringUtf16
impl RefUnwindSafe for StringUtf16
impl Send for StringUtf16
impl Sync for StringUtf16
impl Unpin for StringUtf16
impl UnwindSafe for StringUtf16
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