[][src]Struct nature_db::RawMeta

pub struct RawMeta {
    pub meta_type: String,
    pub meta_key: String,
    pub description: Option<String>,
    pub version: i32,
    pub states: Option<String>,
    pub fields: Option<String>,
    pub config: String,
    pub flag: i32,
    pub create_time: NaiveDateTime,
}

Fields

meta_type: Stringmeta_key: Stringdescription: Option<String>

For human readable what the Meta is.

version: i32

version of the Meta

states: Option<String>fields: Option<String>

Define whats the Meta should include

config: Stringflag: i32create_time: NaiveDateTime

Trait Implementations

impl Clone for RawMeta[src]

impl Debug for RawMeta[src]

impl Default for RawMeta[src]

impl<'de> Deserialize<'de> for RawMeta[src]

impl From<Meta> for RawMeta[src]

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

type Values = <(Option<Eq<meta_type, String>>, Option<Eq<meta_key, String>>, Option<Eq<description, String>>, Option<Eq<version, i32>>, Option<Eq<states, String>>, Option<Eq<fields, String>>, Option<Eq<config, String>>, Option<Eq<flag, i32>>, Option<Eq<create_time, NaiveDateTime>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

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

type Values = <(Option<Eq<meta_type, &'insert String>>, Option<Eq<meta_key, &'insert String>>, Option<Eq<description, &'insert String>>, Option<Eq<version, &'insert i32>>, Option<Eq<states, &'insert String>>, Option<Eq<fields, &'insert String>>, Option<Eq<config, &'insert String>>, Option<Eq<flag, &'insert i32>>, Option<Eq<create_time, &'insert NaiveDateTime>>) as Insertable<table>>::Values

The VALUES clause to insert these records Read more

impl PartialEq<RawMeta> for RawMeta[src]

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

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

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

impl Serialize for RawMeta[src]

impl StructuralPartialEq for RawMeta[src]

impl TryInto<Meta> for RawMeta[src]

type Error = NatureError

The type returned in the event of a conversion error.

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

Auto Trait Implementations

impl RefUnwindSafe for RawMeta

impl Send for RawMeta

impl Sync for RawMeta

impl Unpin for RawMeta

impl UnwindSafe for RawMeta

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> DeserializeOwned for T where
    T: Deserialize<'de>, 
[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>,