[][src]Struct nature_db::RawRelation

pub struct RawRelation {
    pub from_meta: String,
    pub to_meta: String,
    pub settings: String,
    pub flag: i32,
}

Fields

from_meta: Stringto_meta: Stringsettings: Stringflag: i32

Methods

impl RawRelation[src]

pub fn new(from: &str, to: &str, settings: &RelationSettings) -> Result<Self>[src]

pub fn get_string(&self) -> String[src]

Trait Implementations

impl Clone for RawRelation[src]

impl Debug for RawRelation[src]

impl<'insert> Insertable<table> for RawRelation[src]

type Values = <(Option<Eq<from_meta, String>>, Option<Eq<to_meta, String>>, Option<Eq<settings, String>>, Option<Eq<flag, i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<'insert> Insertable<table> for &'insert RawRelation[src]

type Values = <(Option<Eq<from_meta, &'insert String>>, Option<Eq<to_meta, &'insert String>>, Option<Eq<settings, &'insert String>>, Option<Eq<flag, &'insert i32>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for RawRelation where
    (String, String, String, i32): Queryable<__ST, __DB>, 
[src]

type Row = <(String, String, String, i32) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl<'insert> UndecoratedInsertRecord<table> for RawRelation[src]

Auto Trait Implementations

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> IntoSql for 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.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,