pub struct SqliteQuestionRepository { /* private fields */ }Implementations§
Trait Implementations§
Source§impl QuestionRepository for SqliteQuestionRepository
impl QuestionRepository for SqliteQuestionRepository
fn save_question(&self, question: &ResearchQuestion) -> Result<(), CoreError>
fn get_question( &self, question_id: &str, ) -> Result<Option<ResearchQuestion>, CoreError>
fn list_questions(&self) -> Result<Vec<ResearchQuestion>, CoreError>
fn save_term(&self, term: &SearchTerm) -> Result<(), CoreError>
fn get_terms(&self, question_id: &str) -> Result<Vec<SearchTerm>, CoreError>
Auto Trait Implementations§
impl !RefUnwindSafe for SqliteQuestionRepository
impl !UnwindSafe for SqliteQuestionRepository
impl Freeze for SqliteQuestionRepository
impl Send for SqliteQuestionRepository
impl Sync for SqliteQuestionRepository
impl Unpin for SqliteQuestionRepository
impl UnsafeUnpin for SqliteQuestionRepository
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