Struct sn0int::models::InsertImage
source · pub struct InsertImage {
pub value: String,
pub filename: Option<String>,
pub mime: Option<String>,
pub width: Option<i32>,
pub height: Option<i32>,
pub created: Option<NaiveDateTime>,
pub latitude: Option<f32>,
pub longitude: Option<f32>,
pub nudity: Option<f32>,
pub ahash: Option<String>,
pub dhash: Option<String>,
pub phash: Option<String>,
}
Fields§
§value: String
§filename: Option<String>
§mime: Option<String>
§width: Option<i32>
§height: Option<i32>
§created: Option<NaiveDateTime>
§latitude: Option<f32>
§longitude: Option<f32>
§nudity: Option<f32>
§ahash: Option<String>
§dhash: Option<String>
§phash: Option<String>
Trait Implementations§
source§impl Debug for InsertImage
impl Debug for InsertImage
source§impl<'de> Deserialize<'de> for InsertImage
impl<'de> Deserialize<'de> for InsertImage
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 LuaInsertToNew for InsertImage
impl LuaInsertToNew for InsertImage
Auto Trait Implementations§
impl RefUnwindSafe for InsertImage
impl Send for InsertImage
impl Sync for InsertImage
impl Unpin for InsertImage
impl UnwindSafe for InsertImage
Blanket Implementations§
§impl<'a, T> AsTaggedExplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedExplicit<'a> for Twhere T: 'a,
§impl<'a, T> AsTaggedImplicit<'a> for Twhere
T: 'a,
impl<'a, T> AsTaggedImplicit<'a> for Twhere T: 'a,
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::Expressionwhere
Self: AsExpression<T> + Sized,
fn into_sql<T>(self) -> Self::Expressionwhere Self: AsExpression<T> + Sized,
Convert
self
to an expression for Diesel’s query builder. Read moresource§fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expressionwhere &'a Self: AsExpression<T>,
Convert
&self
to an expression for Diesel’s query builder. Read more