pub struct RowColumnRef<'a> {
pub name: &'a str,
pub data_type: DataType,
pub logical_type: LogicalTypeRef,
pub nullable: bool,
}Expand description
Read-only column metadata required by row construction and validation.
Fields§
§name: &'a str§data_type: DataType§logical_type: LogicalTypeRef§nullable: boolImplementations§
Source§impl<'a> RowColumnRef<'a>
impl<'a> RowColumnRef<'a>
pub const fn new(name: &'a str, data_type: DataType, nullable: bool) -> Self
pub const fn with_logical_type(self, logical_type: LogicalTypeRef) -> Self
Trait Implementations§
Source§impl<'a> Clone for RowColumnRef<'a>
impl<'a> Clone for RowColumnRef<'a>
Source§fn clone(&self) -> RowColumnRef<'a>
fn clone(&self) -> RowColumnRef<'a>
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 moreimpl<'a> Copy for RowColumnRef<'a>
Source§impl<'a> Debug for RowColumnRef<'a>
impl<'a> Debug for RowColumnRef<'a>
impl<'a> Eq for RowColumnRef<'a>
Source§impl<'a> PartialEq for RowColumnRef<'a>
impl<'a> PartialEq for RowColumnRef<'a>
impl<'a> StructuralPartialEq for RowColumnRef<'a>
Auto Trait Implementations§
impl<'a> Freeze for RowColumnRef<'a>
impl<'a> RefUnwindSafe for RowColumnRef<'a>
impl<'a> Send for RowColumnRef<'a>
impl<'a> Sync for RowColumnRef<'a>
impl<'a> Unpin for RowColumnRef<'a>
impl<'a> UnsafeUnpin for RowColumnRef<'a>
impl<'a> UnwindSafe for RowColumnRef<'a>
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