Skip to main content

ColumnMetadata

Struct ColumnMetadata 

Source
pub struct ColumnMetadata { /* private fields */ }

Implementations§

Source§

impl ColumnMetadata

Source

pub fn new(name: impl Into<String>, ora_type_num: u8) -> Self

Source

pub fn name(&self) -> &str

Source

pub fn with_name(self, name: impl Into<String>) -> Self

Source

pub fn ora_type_num(&self) -> u8

Source

pub fn with_ora_type_num(self, ora_type_num: u8) -> Self

Source

pub fn csfrm(&self) -> u8

Source

pub fn with_csfrm(self, csfrm: u8) -> Self

Source

pub fn precision(&self) -> i8

Source

pub fn with_precision(self, precision: i8) -> Self

Source

pub fn scale(&self) -> i8

Source

pub fn with_scale(self, scale: i8) -> Self

Source

pub fn buffer_size(&self) -> u32

Source

pub fn with_buffer_size(self, buffer_size: u32) -> Self

Source

pub fn max_size(&self) -> u32

Source

pub fn with_max_size(self, max_size: u32) -> Self

Source

pub fn nulls_allowed(&self) -> bool

Source

pub fn with_nulls_allowed(self, nulls_allowed: bool) -> Self

Source

pub fn is_json(&self) -> bool

Source

pub fn with_is_json(self, is_json: bool) -> Self

Source

pub fn is_oson(&self) -> bool

Source

pub fn with_is_oson(self, is_oson: bool) -> Self

Source

pub fn object_schema(&self) -> Option<&str>

Source

pub fn with_object_schema(self, object_schema: Option<String>) -> Self

Source

pub fn object_type_name(&self) -> Option<&str>

Source

pub fn with_object_type_name(self, object_type_name: Option<String>) -> Self

Source

pub fn is_array(&self) -> bool

Source

pub fn with_is_array(self, is_array: bool) -> Self

Source

pub fn vector_dimensions(&self) -> Option<u32>

Source

pub fn with_vector_dimensions(self, vector_dimensions: Option<u32>) -> Self

Source

pub fn vector_format(&self) -> u8

Source

pub fn with_vector_format(self, vector_format: u8) -> Self

Source

pub fn vector_flags(&self) -> u8

Source

pub fn with_vector_flags(self, vector_flags: u8) -> Self

Source

pub fn domain_schema(&self) -> Option<&str>

Source

pub fn with_domain_schema(self, domain_schema: Option<String>) -> Self

Source

pub fn domain_name(&self) -> Option<&str>

Source

pub fn with_domain_name(self, domain_name: Option<String>) -> Self

Source

pub fn annotations(&self) -> Option<&[(String, String)]>

Source

pub fn with_annotations( self, annotations: Option<Vec<(String, String)>>, ) -> Self

Trait Implementations§

Source§

impl Clone for ColumnMetadata

Source§

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)

Performs copy-assignment from source. Read more
Source§

impl Debug for ColumnMetadata

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for ColumnMetadata

Source§

fn default() -> ColumnMetadata

Returns the “default value” for a type. Read more
Source§

impl Eq for ColumnMetadata

Source§

impl PartialEq for ColumnMetadata

Source§

fn eq(&self, other: &ColumnMetadata) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl StructuralPartialEq for ColumnMetadata

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

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

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V