[][src]Struct nature_db::RawInstance

pub struct RawInstance { /* fields omitted */ }

Methods

impl RawInstance[src]

pub fn to(&self) -> Result<Instance>[src]

pub fn new(instance: &Instance) -> Result<RawInstance>[src]

Trait Implementations

impl Clone for RawInstance[src]

impl Debug for RawInstance[src]

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

type Values = <(Option<Eq<instance_id, Vec<u8>>>, Option<Eq<meta, String>>, Option<Eq<para, String>>, Option<Eq<content, String>>, Option<Eq<context, String>>, Option<Eq<states, String>>, Option<Eq<state_version, i32>>, Option<Eq<from_meta, String>>, Option<Eq<from_para, String>>, Option<Eq<from_id, Vec<u8>>>, Option<Eq<from_state_version, i32>>, Option<Eq<execute_time, NaiveDateTime>>, Option<Eq<create_time, NaiveDateTime>>, Option<Eq<sys_context, String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<instance_id, &'insert Vec<u8>>>, Option<Eq<meta, &'insert String>>, Option<Eq<para, &'insert String>>, Option<Eq<content, &'insert String>>, Option<Eq<context, &'insert String>>, Option<Eq<states, &'insert String>>, Option<Eq<state_version, &'insert i32>>, Option<Eq<from_meta, &'insert String>>, Option<Eq<from_para, &'insert String>>, Option<Eq<from_id, &'insert Vec<u8>>>, Option<Eq<from_state_version, &'insert i32>>, Option<Eq<execute_time, &'insert NaiveDateTime>>, Option<Eq<create_time, &'insert NaiveDateTime>>, Option<Eq<sys_context, &'insert String>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for RawInstance where
    (Vec<u8>, String, String, String, Option<String>, Option<String>, i32, Option<String>, Option<String>, Option<Vec<u8>>, Option<i32>, NaiveDateTime, NaiveDateTime, Option<String>): Queryable<__ST, __DB>, 
[src]

type Row = <(Vec<u8>, String, String, String, Option<String>, Option<String>, i32, Option<String>, Option<String>, Option<Vec<u8>>, Option<i32>, NaiveDateTime, NaiveDateTime, Option<String>) as Queryable<__ST, __DB>>::Row

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

impl<'insert> UndecoratedInsertRecord<table> for RawInstance[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>,