Struct odbc_api::Nullable [−][src]
pub struct Nullable<T> { /* fields omitted */ }
Expand description
Wraps a type T together with an additional indicator. This way the type gains a Null representation, those memory layout is compatible with ODBC.
Implementations
Trait Implementations
The identifier of the C data type of the value buffer. When it is retrieving data from the
data source with fetch
, the driver converts the data to this type. When it sends data to
the source, the driver converts the data from this type. Read more
Indicates the length of variable sized types. May be zero for fixed sized types.
Pointer to a value corresponding to the one described by cdata_type
.
Maximum length of the type in bytes (not characters). It is required to index values in
bound buffers, if more than one parameter is bound. Can be set to zero for types not bound
as parameter arrays, i.e. CStr
. Read more
Indicates the length of variable sized types. May be zero for fixed sized types.
Pointer to a value corresponding to the one described by cdata_type
.
Auto Trait Implementations
impl<T> RefUnwindSafe for Nullable<T> where
T: RefUnwindSafe,
impl<T> UnwindSafe for Nullable<T> where
T: UnwindSafe,