[][src]Struct leetcode_cli::cache::models::Problem

pub struct Problem {
    pub category: String,
    pub fid: i32,
    pub id: i32,
    pub level: i32,
    pub locked: bool,
    pub name: String,
    pub percent: f32,
    pub slug: String,
    pub starred: bool,
    pub state: String,
}

Problem model

Fields

category: Stringfid: i32id: i32level: i32locked: boolname: Stringpercent: f32slug: Stringstarred: boolstate: String

Trait Implementations

impl Display for Problem[src]

impl<__DB: Backend, __ST> Queryable<__ST, __DB> for Problem where
    (String, i32, i32, i32, bool, String, f32, String, bool, String): Queryable<__ST, __DB>, 
[src]

type Row = <(String, i32, i32, i32, bool, String, f32, String, bool, String) as Queryable<__ST, __DB>>::Row

The Rust type you'd like to map from. Read more

impl Serialize 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]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> IntoSql for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 

type Err = <U as TryFrom<T>>::Err