pub struct HandoffDb { /* private fields */ }Implementations§
Source§impl HandoffDb
impl HandoffDb
pub fn new() -> Result<Self>
pub fn init(&self) -> Result<PathBuf>
pub fn upsert( &self, project: &str, handoff: &Handoff, today: &str, ) -> Result<UpsertReport>
pub fn query(&self, project: &str) -> Result<Vec<HandoffRow>>
pub fn complete(&self, project: &str, id: &str, today: &str) -> Result<bool>
pub fn set_status( &self, project: &str, id: &str, status: &str, today: &str, ) -> Result<bool>
Auto Trait Implementations§
impl Freeze for HandoffDb
impl RefUnwindSafe for HandoffDb
impl Send for HandoffDb
impl Sync for HandoffDb
impl Unpin for HandoffDb
impl UnsafeUnpin for HandoffDb
impl UnwindSafe for HandoffDb
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