[−][src]Struct leetcode_cli::cache::models::Problem
Problem model
Fields
category: String
fid: i32
id: i32
level: i32
locked: bool
name: String
percent: f32
slug: String
starred: bool
status: String
desc: String
Trait Implementations
impl<'update> AsChangeset for &'update Problem
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Eq<category, &'update String>, Eq<fid, &'update i32>, Eq<level, &'update i32>, Eq<locked, &'update bool>, Eq<name, &'update String>, Eq<percent, &'update f32>, Eq<slug, &'update String>, Eq<starred, &'update bool>, Eq<status, &'update String>, Eq<desc, &'update String>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl<'update> AsChangeset for Problem
[src]
type Target = table
The table which Self::Changeset
will be updating
type Changeset = <(Eq<category, String>, Eq<fid, i32>, Eq<level, i32>, Eq<locked, bool>, Eq<name, String>, Eq<percent, f32>, Eq<slug, String>, Eq<starred, bool>, Eq<status, String>, Eq<desc, String>) as AsChangeset>::Changeset
The update statement this type represents
fn as_changeset(self) -> Self::Changeset
[src]
impl Clone for Problem
[src]
impl Debug for Problem
[src]
impl Display for Problem
[src]
impl HasTable for Problem
[src]
impl<'ident> Identifiable for &'ident Problem
[src]
impl<'insert> Insertable<table> for Problem
[src]
type Values = <(Option<Eq<category, String>>, Option<Eq<fid, i32>>, Option<Eq<id, i32>>, Option<Eq<level, i32>>, Option<Eq<locked, bool>>, Option<Eq<name, String>>, Option<Eq<percent, f32>>, Option<Eq<slug, String>>, Option<Eq<starred, bool>>, Option<Eq<status, String>>, Option<Eq<desc, String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<'insert> Insertable<table> for &'insert Problem
[src]
type Values = <(Option<Eq<category, &'insert String>>, Option<Eq<fid, &'insert i32>>, Option<Eq<id, &'insert i32>>, Option<Eq<level, &'insert i32>>, Option<Eq<locked, &'insert bool>>, Option<Eq<name, &'insert String>>, Option<Eq<percent, &'insert f32>>, Option<Eq<slug, &'insert String>>, Option<Eq<starred, &'insert bool>>, Option<Eq<status, &'insert String>>, Option<Eq<desc, &'insert String>>) as Insertable<table>>::Values
The VALUES
clause to insert these records Read more
fn values(self) -> Self::Values
[src]
fn insert_into(
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
[src]
self,
table: T
) -> InsertStatement<T, Self::Values, Insert, NoReturningClause>
impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Problem where
(String, i32, i32, i32, bool, String, f32, String, bool, String, String): Queryable<__ST, __DB>,
[src]
(String, i32, i32, i32, bool, String, f32, String, bool, String, String): Queryable<__ST, __DB>,
type Row = <(String, i32, i32, i32, bool, String, f32, String, bool, String, String) as Queryable<__ST, __DB>>::Row
The Rust type you'd like to map from. Read more
fn build(row: Self::Row) -> Self
[src]
impl Serialize for Problem
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl<'insert> UndecoratedInsertRecord<table> for Problem
[src]
Auto Trait Implementations
impl RefUnwindSafe for Problem
impl Send for Problem
impl Sync for Problem
impl Unpin for Problem
impl UnwindSafe for Problem
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
fn instrument(self, span: Span) -> Instrumented<Self>
[src]
fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> IntoSql for T
[src]
fn into_sql<T>(self) -> Self::Expression where
Self: AsExpression<T>,
[src]
Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
[src]
&'a Self: AsExpression<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,