Struct sqlite_parser::Column[][src]

pub struct Column {
    pub id: i32,
    pub name: String,
    pub the_type: Type,
    pub nullable: bool,
    pub part_of_pk: bool,
}

Represents a column in SQLite

Fields

id: i32

The id of the column (starts with 0 and is incremented for each column)

name: String

The name of the column

the_type: Type

The type of the column

nullable: bool

Checks if the column is nullable

part_of_pk: bool

Checks if the column is part of the primary key

Trait Implementations

impl Clone for Column[src]

impl Debug for Column[src]

impl PartialEq<Column> for Column[src]

impl StructuralPartialEq for Column[src]

Auto Trait Implementations

impl RefUnwindSafe for Column

impl Send for Column

impl Sync for Column

impl Unpin for Column

impl UnwindSafe for Column

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.