pub struct FileRecordDeleteForm {
pub id: i32,
pub deleted: bool,
pub namespace_id: i32,
}
Fields§
§id: i32
§deleted: bool
§namespace_id: i32
Trait Implementations§
Source§impl<'update> AsChangeset for &'update FileRecordDeleteForm
impl<'update> AsChangeset for &'update FileRecordDeleteForm
Source§type Changeset = <(Grouped<Eq<deleted, <&'update bool as AsExpression<<deleted as Expression>::SqlType>>::Expression>>, Grouped<Eq<namespace_id, <&'update i32 as AsExpression<<namespace_id as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<deleted, <&'update bool as AsExpression<<deleted as Expression>::SqlType>>::Expression>>, Grouped<Eq<namespace_id, <&'update i32 as AsExpression<<namespace_id as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedSource§impl AsChangeset for FileRecordDeleteForm
impl AsChangeset for FileRecordDeleteForm
Source§type Changeset = <(Grouped<Eq<deleted, <bool as AsExpression<<deleted as Expression>::SqlType>>::Expression>>, Grouped<Eq<namespace_id, <i32 as AsExpression<<namespace_id as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<deleted, <bool as AsExpression<<deleted as Expression>::SqlType>>::Expression>>, Grouped<Eq<namespace_id, <i32 as AsExpression<<namespace_id as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
The update statement this type represents
Source§fn as_changeset(self) -> Self::Changeset
fn as_changeset(self) -> Self::Changeset
Convert
self
into the actual update statement being executedSource§impl Clone for FileRecordDeleteForm
impl Clone for FileRecordDeleteForm
Source§fn clone(&self) -> FileRecordDeleteForm
fn clone(&self) -> FileRecordDeleteForm
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for FileRecordDeleteForm
impl RefUnwindSafe for FileRecordDeleteForm
impl Send for FileRecordDeleteForm
impl Sync for FileRecordDeleteForm
impl Unpin for FileRecordDeleteForm
impl UnwindSafe for FileRecordDeleteForm
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T, UT> HandleAlloc<UT> for T
impl<T, UT> HandleAlloc<UT> for T
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
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