Trait elephantry::Structure[][src]

pub trait Structure {
    fn relation() -> &'static str;
fn primary_key() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
;
fn columns() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
; }

Trait to reflect relation structure.

Required methods

fn relation() -> &'static str[src]

Get relation name.

fn primary_key() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Get the list of column contitutes the primary key.

fn columns() -> &'static [&'static str]

Notable traits for &'_ [u8]

impl<'_> Read for &'_ [u8]impl<'_> Write for &'_ mut [u8]
[src]

Get the list for columns.

Loading content...

Implementors

Loading content...