Struct barrel::table::Table [] [src]

pub struct Table<T: DatabaseGenerator + TableGenerator + Default>(_, _, _);

Methods

impl<T: DatabaseGenerator + TableGenerator + Default> Table<T>
[src]

[src]

Create a new table with a name and a generic backend

[src]

Helper function which gets the table name

[src]

Concatinate the table contents

[src]

Drop an existing column from the table

[src]

Rename an existing column

[src]

Adds a primary key called id, that auto increments

[src]

Add an integer column

[src]

Add a text column

[src]

Add a string column

[src]

Add a timestamp column

Trait Implementations

impl<T: Clone + DatabaseGenerator + TableGenerator + Default> Clone for Table<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T: PartialEq + DatabaseGenerator + TableGenerator + Default> PartialEq for Table<T>
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl<T: Eq + DatabaseGenerator + TableGenerator + Default> Eq for Table<T>
[src]