pub struct BlockProperty {
pub block_id: Vec<u8>,
pub name: String,
pub data: Vec<u8>,
}Fields§
§block_id: Vec<u8>§name: String§data: Vec<u8>Trait Implementations§
Source§impl HasTable for BlockProperty
impl HasTable for BlockProperty
Source§impl<'ident> Identifiable for &'ident BlockProperty
impl<'ident> Identifiable for &'ident BlockProperty
Source§impl<'insert> Insertable<table> for &'insert BlockProperty
impl<'insert> Insertable<table> for &'insert BlockProperty
Source§type Values = <(Option<Eq<block_id, <&'insert Vec<u8> as AsExpression<<block_id as Expression>::SqlType>>::Expression>>, Option<Eq<name, <&'insert String as AsExpression<<name as Expression>::SqlType>>::Expression>>, Option<Eq<data, <&'insert Vec<u8> as AsExpression<<data as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<block_id, <&'insert Vec<u8> as AsExpression<<block_id as Expression>::SqlType>>::Expression>>, Option<Eq<name, <&'insert String as AsExpression<<name as Expression>::SqlType>>::Expression>>, Option<Eq<data, <&'insert Vec<u8> as AsExpression<<data as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
Insert
self into a given table. Read moreSource§impl<'insert> Insertable<table> for BlockProperty
impl<'insert> Insertable<table> for BlockProperty
Source§type Values = <(Option<Eq<block_id, <Vec<u8> as AsExpression<<block_id as Expression>::SqlType>>::Expression>>, Option<Eq<name, <String as AsExpression<<name as Expression>::SqlType>>::Expression>>, Option<Eq<data, <Vec<u8> as AsExpression<<data as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
type Values = <(Option<Eq<block_id, <Vec<u8> as AsExpression<<block_id as Expression>::SqlType>>::Expression>>, Option<Eq<name, <String as AsExpression<<name as Expression>::SqlType>>::Expression>>, Option<Eq<data, <Vec<u8> as AsExpression<<data as Expression>::SqlType>>::Expression>>) as Insertable<table>>::Values
The
VALUES clause to insert these records Read moreSource§fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
fn insert_into(self, table: T) -> InsertStatement<T, Self::Values>where
Self: Sized,
Insert
self into a given table. Read moreSource§impl<__DB: Backend, __ST> Queryable<__ST, __DB> for BlockProperty
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for BlockProperty
impl<'insert> UndecoratedInsertRecord<table> for BlockProperty
Auto Trait Implementations§
impl Freeze for BlockProperty
impl RefUnwindSafe for BlockProperty
impl Send for BlockProperty
impl Sync for BlockProperty
impl Unpin for BlockProperty
impl UnwindSafe for BlockProperty
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
fn into_sql<T>(self) -> Self::Expressionwhere
Self: Sized + AsExpression<T>,
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
Convert
&self to an expression for Diesel’s query builder. Read more