pub struct InferredColumn {
pub name: String,
pub pg_type: PgType,
}Expand description
One flattened column: name + inferred type. The caller decides what to do with these; this crate has no table-schema or column-definition type of its own, since that is an application bookkeeping concern, not a type-mapping one.
Fields§
§name: String§pg_type: PgTypeTrait Implementations§
Source§impl Clone for InferredColumn
impl Clone for InferredColumn
Source§fn clone(&self) -> InferredColumn
fn clone(&self) -> InferredColumn
Returns a duplicate 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 InferredColumn
impl Debug for InferredColumn
Source§impl PartialEq for InferredColumn
impl PartialEq for InferredColumn
impl StructuralPartialEq for InferredColumn
Auto Trait Implementations§
impl Freeze for InferredColumn
impl RefUnwindSafe for InferredColumn
impl Send for InferredColumn
impl Sync for InferredColumn
impl Unpin for InferredColumn
impl UnwindSafe for InferredColumn
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