pub struct SchemaMapping { /* private fields */ }Expand description
Planned mapping between one Arrow field and one MSSQL column.
Implementations§
Source§impl SchemaMapping
impl SchemaMapping
Sourcepub const fn new(arrow: ArrowFieldRef, mssql: MssqlColumn) -> Self
pub const fn new(arrow: ArrowFieldRef, mssql: MssqlColumn) -> Self
Creates a schema mapping.
Sourcepub const fn arrow(&self) -> &ArrowFieldRef
pub const fn arrow(&self) -> &ArrowFieldRef
Returns the Arrow side of the mapping.
Sourcepub const fn mssql(&self) -> &MssqlColumn
pub const fn mssql(&self) -> &MssqlColumn
Returns the MSSQL side of the mapping.
Trait Implementations§
Source§impl Clone for SchemaMapping
impl Clone for SchemaMapping
Source§fn clone(&self) -> SchemaMapping
fn clone(&self) -> SchemaMapping
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 SchemaMapping
impl Debug for SchemaMapping
Source§impl PartialEq for SchemaMapping
impl PartialEq for SchemaMapping
Source§fn eq(&self, other: &SchemaMapping) -> bool
fn eq(&self, other: &SchemaMapping) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for SchemaMapping
impl StructuralPartialEq for SchemaMapping
Auto Trait Implementations§
impl Freeze for SchemaMapping
impl RefUnwindSafe for SchemaMapping
impl Send for SchemaMapping
impl Sync for SchemaMapping
impl Unpin for SchemaMapping
impl UnsafeUnpin for SchemaMapping
impl UnwindSafe for SchemaMapping
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