Struct diesel_infer_schema::TableData
[−]
[src]
pub struct TableData { pub name: String, pub schema: Option<String>, }
Fields
name: String
schema: Option<String>
Methods
impl TableData
[src]
fn from_name<T: Into<String>>(name: T) -> Self
fn new<T, U>(name: T, schema: U) -> Self where T: Into<String>, U: Into<String>
Trait Implementations
impl PartialEq for TableData
[src]
fn eq(&self, __arg_0: &TableData) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &TableData) -> bool
This method tests for !=
.
impl Clone for TableData
[src]
fn clone(&self) -> TableData
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl Debug for TableData
[src]
impl<ST, DB> Queryable<ST, DB> for TableData where DB: Backend + HasSqlType<ST>,
(String, String): FromSqlRow<ST, DB>
[src]
(String, String): FromSqlRow<ST, DB>
impl Display for TableData
[src]
fn fmt(&self, out: &mut Formatter) -> Result<(), Error>
Formats the value using the given formatter.