pub struct XdbcTypeInfo {Show 19 fields
pub type_name: String,
pub data_type: XdbcDataType,
pub column_size: Option<i32>,
pub literal_prefix: Option<String>,
pub literal_suffix: Option<String>,
pub create_params: Option<Vec<String>>,
pub nullable: Nullable,
pub case_sensitive: bool,
pub searchable: Searchable,
pub unsigned_attribute: Option<bool>,
pub fixed_prec_scale: bool,
pub auto_increment: Option<bool>,
pub local_type_name: Option<String>,
pub minimum_scale: Option<i32>,
pub maximum_scale: Option<i32>,
pub sql_data_type: XdbcDataType,
pub datetime_subcode: Option<XdbcDatetimeSubcode>,
pub num_prec_radix: Option<i32>,
pub interval_precision: Option<i32>,
}
Expand description
Data structure representing type information for xdbc types.
Fields§
§type_name: String
The name of the type
data_type: XdbcDataType
The data type of the type
column_size: Option<i32>
The column size of the type
literal_prefix: Option<String>
The prefix of the type
literal_suffix: Option<String>
The suffix of the type
create_params: Option<Vec<String>>
The create parameters of the type
nullable: Nullable
The nullability of the type
case_sensitive: bool
Whether the type is case sensitive
searchable: Searchable
Whether the type is searchable
unsigned_attribute: Option<bool>
Whether the type is unsigned
fixed_prec_scale: bool
Whether the type has fixed precision and scale
auto_increment: Option<bool>
Whether the type is auto-incrementing
local_type_name: Option<String>
The local type name of the type
minimum_scale: Option<i32>
The minimum scale of the type
maximum_scale: Option<i32>
The maximum scale of the type
sql_data_type: XdbcDataType
The SQL data type of the type
datetime_subcode: Option<XdbcDatetimeSubcode>
The optional datetime subcode of the type
num_prec_radix: Option<i32>
The number precision radix of the type
interval_precision: Option<i32>
The interval precision of the type
Trait Implementations§
Source§impl Clone for XdbcTypeInfo
impl Clone for XdbcTypeInfo
Source§fn clone(&self) -> XdbcTypeInfo
fn clone(&self) -> XdbcTypeInfo
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for XdbcTypeInfo
impl Debug for XdbcTypeInfo
Source§impl Default for XdbcTypeInfo
impl Default for XdbcTypeInfo
Source§fn default() -> XdbcTypeInfo
fn default() -> XdbcTypeInfo
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for XdbcTypeInfo
impl RefUnwindSafe for XdbcTypeInfo
impl Send for XdbcTypeInfo
impl Sync for XdbcTypeInfo
impl Unpin for XdbcTypeInfo
impl UnwindSafe for XdbcTypeInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T
in a tonic::Request