Enum leetcode_tui_rs::graphql::RunOrSubmitCode
source · pub enum RunOrSubmitCode {
Run(RunCode),
Submit(SubmitCode),
}
Variants§
Run(RunCode)
Submit(SubmitCode)
Implementations§
source§impl RunOrSubmitCode
impl RunOrSubmitCode
pub async fn post(&self, client: &Client) -> AppResult<ParsedResponse>
pub async fn poll_check_response<T: GQLLeetcodeQuery<T = RunResponse>>( &self, client: &Client, body: &impl GQLLeetcodeQuery<T = T> ) -> AppResult<ParsedResponse>
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for RunOrSubmitCode
impl Send for RunOrSubmitCode
impl Sync for RunOrSubmitCode
impl Unpin for RunOrSubmitCode
impl UnwindSafe for RunOrSubmitCode
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