Struct restq_http::Insert
source · pub struct Insert {
pub into: TableName,
pub columns: Vec<ColumnName>,
pub source: Source,
pub returning: Option<Vec<ColumnName>>,
}
Fields§
§into: TableName
§columns: Vec<ColumnName>
§source: Source
§returning: Option<Vec<ColumnName>>
Implementations§
source§impl Insert
impl Insert
pub fn into_sql_statement( &self, table_lookup: Option<&TableLookup> ) -> Result<Statement, Error>
Trait Implementations§
source§impl<'de> Deserialize<'de> for Insert
impl<'de> Deserialize<'de> for Insert
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<Insert, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<Insert, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for Insert
impl PartialEq for Insert
source§impl Serialize for Insert
impl Serialize for Insert
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for Insert
Auto Trait Implementations§
impl Freeze for Insert
impl RefUnwindSafe for Insert
impl Send for Insert
impl Sync for Insert
impl Unpin for Insert
impl UnwindSafe for Insert
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