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