Struct leetcode_cli::cache::Cache [−][src]
pub struct Cache(pub LeetCode);
Expand description
Requests if data not download
Tuple Fields
0: LeetCode
Implementations
Download leetcode problems to db
pub async fn exec_problem(
&self,
rfid: i32,
run: Run,
testcase: Option<String>
) -> Result<VerifyResult, Error>
pub async fn exec_problem(
&self,
rfid: i32,
run: Run,
testcase: Option<String>
) -> Result<VerifyResult, Error>
Exec problem filter —— Test or Submit
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Cache
impl !UnwindSafe for Cache
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Convert self
to an expression for Diesel’s query builder. Read more
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
fn as_sql<'a, T>(&'a self) -> <&'a Self as AsExpression<T>>::Expression where
&'a Self: AsExpression<T>,
Convert &self
to an expression for Diesel’s query builder. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more