pub struct ReviewStore { /* private fields */ }Implementations§
Source§impl ReviewStore
impl ReviewStore
pub async fn load(path: PathBuf) -> Result<Self>
pub async fn get(&self, run_id: Uuid) -> RunReviewState
pub async fn list(&self, status: Option<ReviewStatus>) -> Vec<RunReviewState>
pub async fn put( &self, run_id: Uuid, update: ReviewUpdate, ) -> Result<RunReviewState>
Trait Implementations§
Source§impl Clone for ReviewStore
impl Clone for ReviewStore
Source§fn clone(&self) -> ReviewStore
fn clone(&self) -> ReviewStore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl !RefUnwindSafe for ReviewStore
impl !UnwindSafe for ReviewStore
impl Freeze for ReviewStore
impl Send for ReviewStore
impl Sync for ReviewStore
impl Unpin for ReviewStore
impl UnsafeUnpin for ReviewStore
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