Struct odbc_iter::odbc_type::StringUtf16
source · 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<StringUtf16> for StringUtf16
impl PartialEq<StringUtf16> for StringUtf16
source§fn eq(&self, other: &StringUtf16) -> bool
fn eq(&self, other: &StringUtf16) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.