Trait diesel:: query_builder:: update_statement:: changeset:: AsChangeset
[−]
[src]
pub trait AsChangeset { type Target: QuerySource; type Changeset; fn as_changeset(self) -> Self::Changeset; }
Types which can be passed to
update.set
. This can
be automatically generated for structs by
#[changeset_for]
.
Associated Types
type Target: QuerySource
type Changeset
Required Methods
fn as_changeset(self) -> Self::Changeset
Implementors
impl<T: AsChangeset> AsChangeset for Option<T>