Struct rbatis::crud::DynTableColumn[][src]

pub struct DynTableColumn<T: CRUDTable, P: TableColumnProvider> {
    pub inner: T,
    pub p: PhantomData<P>,
}
Expand description

DynColumn , can custom insert,update column

Fields

inner: Tp: PhantomData<P>

Trait Implementations

format column

return (columns_sql,columns_values_sql,args)

return cast chain column:format_str for example: HashMap<“id”,|arg|“{}::uuid”.to_string()>

return table column value If a macro is used, the method is overridden by the macro

get table name,default is type name for snake name Read more

get table fields string Read more

The resulting type after dereferencing.

Dereferences the value.

Mutably dereferences the value.

Deserialize this value from the given Serde deserializer. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.