Enum leetcode_tui_rs::app_ui::channel::TaskResponse
source · pub enum TaskResponse {
QuestionDetail(QuestionContent),
GetAllQuestionsMap(HashMap<TopicTagModel, Vec<QuestionModel>>),
AllTopicTags(Vec<TopicTagModel>),
Error(String),
}
Variants§
QuestionDetail(QuestionContent)
GetAllQuestionsMap(HashMap<TopicTagModel, Vec<QuestionModel>>)
AllTopicTags(Vec<TopicTagModel>)
Error(String)
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for TaskResponse
impl Send for TaskResponse
impl Sync for TaskResponse
impl Unpin for TaskResponse
impl UnwindSafe for TaskResponse
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