Struct leetcode_cli::plugins::LeetCode
source · pub struct LeetCode {
pub conf: Config,
/* private fields */
}
Expand description
LeetCode API set
Fields§
§conf: Config
Implementations§
source§impl LeetCode
impl LeetCode
sourcepub async fn get_category_problems(
self,
category: &str
) -> Result<Response, Error>
pub async fn get_category_problems( self, category: &str ) -> Result<Response, Error>
Get category problems
pub async fn get_question_ids_by_tag( self, slug: &str ) -> Result<Response, Error>
pub async fn get_user_info(self) -> Result<Response, Error>
sourcepub async fn get_question_daily(self) -> Result<Response, Error>
pub async fn get_question_daily(self) -> Result<Response, Error>
Get daily problem
sourcepub async fn get_question_detail(self, slug: &str) -> Result<Response, Error>
pub async fn get_question_detail(self, slug: &str) -> Result<Response, Error>
Get specific problem detail
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for LeetCode
impl Send for LeetCode
impl Sync for LeetCode
impl Unpin for LeetCode
impl !UnwindSafe for LeetCode
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> 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