pub struct ColumnMetadata {Show 19 fields
pub name: String,
pub ora_type_num: u8,
pub csfrm: u8,
pub precision: i8,
pub scale: i8,
pub buffer_size: u32,
pub max_size: u32,
pub nulls_allowed: bool,
pub is_json: bool,
pub is_oson: bool,
pub object_schema: Option<String>,
pub object_type_name: Option<String>,
pub is_array: bool,
pub vector_dimensions: Option<u32>,
pub vector_format: u8,
pub vector_flags: u8,
pub domain_schema: Option<String>,
pub domain_name: Option<String>,
pub annotations: Option<Vec<(String, String)>>,
}Fields§
§name: String§ora_type_num: u8§csfrm: u8§precision: i8§scale: i8§buffer_size: u32§max_size: u32§nulls_allowed: bool§is_json: bool§is_oson: bool§object_schema: Option<String>§object_type_name: Option<String>§is_array: bool§vector_dimensions: Option<u32>VECTOR columns only: the fixed dimension count, or None for a
flexible-dimension column (server sends 0).
vector_format: u8VECTOR columns only: the storage format byte (VECTOR_FORMAT_*); 0
for a flexible-format column.
vector_flags: u8VECTOR columns only: the metadata flags byte (sparse / flexible).
domain_schema: Option<String>SQL data-use-case domain schema (23ai+), or None if the column has no
domain.
domain_name: Option<String>SQL data-use-case domain name (23ai+), or None if the column has no
domain.
annotations: Option<Vec<(String, String)>>Ordered column annotations (23ai+), as (key, value) pairs preserving
server order; None if the column has no annotations. A null annotation
value is normalized to an empty string, matching python-oracledb.
Trait Implementations§
Source§impl Clone for ColumnMetadata
impl Clone for ColumnMetadata
Source§fn clone(&self) -> ColumnMetadata
fn clone(&self) -> ColumnMetadata
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ColumnMetadata
impl Debug for ColumnMetadata
Source§impl Default for ColumnMetadata
impl Default for ColumnMetadata
Source§fn default() -> ColumnMetadata
fn default() -> ColumnMetadata
Returns the “default value” for a type. Read more
impl Eq for ColumnMetadata
Source§impl PartialEq for ColumnMetadata
impl PartialEq for ColumnMetadata
Source§fn eq(&self, other: &ColumnMetadata) -> bool
fn eq(&self, other: &ColumnMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColumnMetadata
Auto Trait Implementations§
impl Freeze for ColumnMetadata
impl RefUnwindSafe for ColumnMetadata
impl Send for ColumnMetadata
impl Sync for ColumnMetadata
impl Unpin for ColumnMetadata
impl UnsafeUnpin for ColumnMetadata
impl UnwindSafe for ColumnMetadata
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