Struct leetcode_tui_rs::graphql::run_code::RunCode
source · pub struct RunCode {
pub lang: Language,
pub question_id: String,
pub typed_code: String,
pub test_cases_stdin: Option<String>,
pub slug: String,
}
Fields§
§lang: Language
§question_id: String
§typed_code: String
§test_cases_stdin: Option<String>
§slug: String
Trait Implementations§
source§impl<'de> Deserialize<'de> for RunCode
impl<'de> Deserialize<'de> for RunCode
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 GQLLeetcodeQuery for RunCode
impl GQLLeetcodeQuery for RunCode
type T = RunCodeResponse
source§fn get_endpoint(&self) -> String
fn get_endpoint(&self) -> String
Default graphql endpoint
fn get_body(&self) -> Value
fn is_post(&self) -> bool
fn post<'life0, 'life1, 'async_trait>( &'life0 self, client: &'life1 Client ) -> Pin<Box<dyn Future<Output = AppResult<Self::T>> + Send + 'async_trait>>where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,
Auto Trait Implementations§
impl RefUnwindSafe for RunCode
impl Send for RunCode
impl Sync for RunCode
impl Unpin for RunCode
impl UnwindSafe for RunCode
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