pub struct FileRecordUpdateForm {
pub size: i64,
pub modified_at: OffsetDateTime,
}
Fields§
§size: i64
§modified_at: OffsetDateTime
Trait Implementations§
Source§impl<'update> AsChangeset for &'update FileRecordUpdateForm
impl<'update> AsChangeset for &'update FileRecordUpdateForm
Source§type Changeset = <(Grouped<Eq<size, <&'update i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>, Grouped<Eq<modified_at, <&'update OffsetDateTime as AsExpression<<modified_at as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<size, <&'update i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>, Grouped<Eq<modified_at, <&'update OffsetDateTime as AsExpression<<modified_at 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 FileRecordUpdateForm
impl AsChangeset for FileRecordUpdateForm
Source§type Changeset = <(Grouped<Eq<size, <i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>, Grouped<Eq<modified_at, <OffsetDateTime as AsExpression<<modified_at as Expression>::SqlType>>::Expression>>) as AsChangeset>::Changeset
type Changeset = <(Grouped<Eq<size, <i64 as AsExpression<<size as Expression>::SqlType>>::Expression>>, Grouped<Eq<modified_at, <OffsetDateTime as AsExpression<<modified_at 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 FileRecordUpdateForm
impl Clone for FileRecordUpdateForm
Source§fn clone(&self) -> FileRecordUpdateForm
fn clone(&self) -> FileRecordUpdateForm
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 FileRecordUpdateForm
impl RefUnwindSafe for FileRecordUpdateForm
impl Send for FileRecordUpdateForm
impl Sync for FileRecordUpdateForm
impl Unpin for FileRecordUpdateForm
impl UnwindSafe for FileRecordUpdateForm
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