pub struct DoobClient { /* private fields */ }Implementations§
Source§impl DoobClient
impl DoobClient
pub fn new(cwd: impl Into<PathBuf>) -> Self
pub fn list_titles( &self, project: &str, status: TodoStatus, ) -> Result<Vec<String>>
pub fn snapshot(&self, project: &str) -> Result<TodoSnapshot>
pub fn add( &self, project: &str, title: &str, priority: u8, tags: &[String], ) -> Result<()>
Trait Implementations§
Source§impl Clone for DoobClient
impl Clone for DoobClient
Source§fn clone(&self) -> DoobClient
fn clone(&self) -> DoobClient
Returns a duplicate of the value. Read more
1.0.0 · 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 Freeze for DoobClient
impl RefUnwindSafe for DoobClient
impl Send for DoobClient
impl Sync for DoobClient
impl Unpin for DoobClient
impl UnsafeUnpin for DoobClient
impl UnwindSafe for DoobClient
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