Struct odbc_api::parameter::Text

source ·
pub struct Text;
Expand description

Intended to be used as a generic argument for [VariadicCell] to declare that this buffer is used to hold narrow (as opposed to wide UTF-16) text.

Trait Implementations§

Number of terminating zeroes required for this kind of variadic buffer.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.