[−][src]Struct nature_db::RawInstance
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]
fn clone(&self) -> RawInstance
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[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
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
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
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
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]
(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>,
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
fn build(row: Self::Row) -> Self
[src]
impl<'insert> UndecoratedInsertRecord<table> for RawInstance
[src]
Auto Trait Implementations
impl RefUnwindSafe for RawInstance
impl Send for RawInstance
impl Sync for RawInstance
impl Unpin for RawInstance
impl UnwindSafe for RawInstance
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,