pub trait AsChangeset {
type Target: QuerySource;
type Changeset;
// Required method
fn as_changeset(self) -> Self::Changeset;
}
Expand description
Types which can be passed to
update.set
.
This trait can be derived
Required Associated Types§
sourcetype Target: QuerySource
type Target: QuerySource
The table which Self::Changeset
will be updating
Required Methods§
sourcefn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert self
into the actual update statement being executed