#[repr(i32)]pub enum FileFormat {
Binary = 1,
Text = 2,
}
Variants§
Trait Implementations§
Source§impl<'__expr> AsExpression<Integer> for &'__expr FileFormat
impl<'__expr> AsExpression<Integer> for &'__expr FileFormat
Source§type Expression = Bound<Integer, &'__expr FileFormat>
type Expression = Bound<Integer, &'__expr FileFormat>
The expression being returned
Source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Source§impl AsExpression<Integer> for FileFormat
impl AsExpression<Integer> for FileFormat
Source§type Expression = Bound<Integer, FileFormat>
type Expression = Bound<Integer, FileFormat>
The expression being returned
Source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Source§impl<'__expr> AsExpression<Nullable<Integer>> for &'__expr FileFormat
impl<'__expr> AsExpression<Nullable<Integer>> for &'__expr FileFormat
Source§type Expression = Bound<Nullable<Integer>, &'__expr FileFormat>
type Expression = Bound<Nullable<Integer>, &'__expr FileFormat>
The expression being returned
Source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Source§impl AsExpression<Nullable<Integer>> for FileFormat
impl AsExpression<Nullable<Integer>> for FileFormat
Source§type Expression = Bound<Nullable<Integer>, FileFormat>
type Expression = Bound<Nullable<Integer>, FileFormat>
The expression being returned
Source§fn as_expression(self) -> Self::Expression
fn as_expression(self) -> Self::Expression
Perform the conversion
Source§impl Clone for FileFormat
impl Clone for FileFormat
Source§fn clone(&self) -> FileFormat
fn clone(&self) -> FileFormat
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 moreSource§impl Debug for FileFormat
impl Debug for FileFormat
Source§impl<'de> Deserialize<'de> for FileFormat
impl<'de> Deserialize<'de> for FileFormat
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for FileFormat
impl PartialEq for FileFormat
Source§impl<__DB, __ST> Queryable<__ST, __DB> for FileFormat
impl<__DB, __ST> Queryable<__ST, __DB> for FileFormat
Source§impl Serialize for FileFormat
impl Serialize for FileFormat
impl Copy for FileFormat
impl StructuralPartialEq for FileFormat
Auto Trait Implementations§
impl Freeze for FileFormat
impl RefUnwindSafe for FileFormat
impl Send for FileFormat
impl Sync for FileFormat
impl Unpin for FileFormat
impl UnwindSafe for FileFormat
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