Struct restq::ast::dml::Update [−][src]
pub struct Update { pub table: TableName, pub columns: Vec<ColumnName>, pub values: Vec<Value>, pub condition: Option<Expr>, }
Expand description
PATCH /product{description=“I’m the new description now”}?product_id=1
Fields
table: TableName
columns: Vec<ColumnName>
values: Vec<Value>
condition: Option<Expr>
Implementations
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for Update
impl UnwindSafe for Update
Blanket Implementations
Mutably borrows from an owned value. Read more