pub struct UpdateMapModel {
pub song: Option<String>,
}Fields§
§song: Option<String>Trait Implementations§
Source§impl<'update> AsChangeset for &'update UpdateMapModel
impl<'update> AsChangeset for &'update UpdateMapModel
Source§type Changeset = <(Option<Grouped<Eq<song, <&'update String as AsExpression<<song as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
type Changeset = <(Option<Grouped<Eq<song, <&'update String as AsExpression<<song as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
Convert
self into the actual update statement being executedSource§impl AsChangeset for UpdateMapModel
impl AsChangeset for UpdateMapModel
Source§type Changeset = <(Option<Grouped<Eq<song, <String as AsExpression<<song as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
type Changeset = <(Option<Grouped<Eq<song, <String as AsExpression<<song as Expression>::SqlType>>::Expression>>>,) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> <Self as AsChangeset>::Changeset
fn as_changeset(self) -> <Self as AsChangeset>::Changeset
Convert
self into the actual update statement being executedAuto Trait Implementations§
impl Freeze for UpdateMapModel
impl RefUnwindSafe for UpdateMapModel
impl Send for UpdateMapModel
impl Sync for UpdateMapModel
impl Unpin for UpdateMapModel
impl UnwindSafe for UpdateMapModel
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
Source§impl<T> IntoSql for T
impl<T> IntoSql for T
Source§fn into_sql<T>(self) -> Self::Expression
fn into_sql<T>(self) -> Self::Expression
Convert
self to an expression for Diesel’s query builder. Read moreSource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression
Convert
&self to an expression for Diesel’s query builder. Read more