pub struct SqliteStore { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Store for SqliteStore
impl Store for SqliteStore
fn get_config(&self, key: &str) -> Result<Option<String>>
fn set_config(&self, key: &str, value: &str) -> Result<()>
fn update_issue(&self, issue: &Issue) -> Result<()>
fn list_config(&self) -> Result<Vec<(String, String)>>
fn execute_raw(&self, sql: &str) -> Result<()>
fn get_issue(&self, id: &str) -> Result<Option<Issue>>
fn list_issues( &self, status: Option<&str>, assignee: Option<&str>, priority: Option<i32>, issue_type: Option<&str>, label: Option<&str>, sort_by: Option<&str>, ) -> Result<Vec<Issue>>
fn import_from_jsonl( &mut self, jsonl_path: &Path, fs: &dyn FileSystem, ) -> Result<()>
fn generate_unique_id( &self, prefix: &str, title: &str, description: &str, creator: &str, ) -> Result<String>
fn create_issue(&self, issue: &Issue) -> Result<()>
fn export_to_jsonl(&self, jsonl_path: &Path, fs: &dyn FileSystem) -> Result<()>
Auto Trait Implementations§
impl !Freeze for SqliteStore
impl !RefUnwindSafe for SqliteStore
impl Send for SqliteStore
impl !Sync for SqliteStore
impl Unpin for SqliteStore
impl !UnwindSafe for SqliteStore
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more