pub struct RunCodeIntermediateResponse {
pub interpret_id: String,
pub test_case: String,
}
Fields§
§interpret_id: String
§test_case: String
Trait Implementations§
Source§impl Debug for RunCodeIntermediateResponse
impl Debug for RunCodeIntermediateResponse
Source§impl<'de> Deserialize<'de> for RunCodeIntermediateResponse
impl<'de> Deserialize<'de> for RunCodeIntermediateResponse
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 GQLLeetcodeRequest for RunCodeIntermediateResponse
impl GQLLeetcodeRequest for RunCodeIntermediateResponse
type T = RunSubmitResult
fn is_post(&self) -> bool
Source§fn get_endpoint(&self) -> String
fn get_endpoint(&self) -> String
Default graphql endpoint
fn get_body(&self) -> Value
fn use_cache(&self) -> bool
fn get_query_hash(&self) -> u64
fn send<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<Self::T>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§impl RunOrSubmitCodeCheckResult<RunCodeIntermediateResponse> for RunCodeRequest
impl RunOrSubmitCodeCheckResult<RunCodeIntermediateResponse> for RunCodeRequest
fn poll_check_response<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = AppResult<ParsedResponse>> + Send + 'async_trait>>where
Self: Sync + 'async_trait,
'life0: 'async_trait,
Auto Trait Implementations§
impl Freeze for RunCodeIntermediateResponse
impl RefUnwindSafe for RunCodeIntermediateResponse
impl Send for RunCodeIntermediateResponse
impl Sync for RunCodeIntermediateResponse
impl Unpin for RunCodeIntermediateResponse
impl UnwindSafe for RunCodeIntermediateResponse
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