[][src]Struct gcd_cli::db::Database

pub struct Database { /* fields omitted */ }

Implementations

impl Database[src]

pub fn new(database_file: String) -> Self[src]

pub fn increment(&self, project: String)[src]

pub fn add(&self, projects: Vec<String>)[src]

pub fn add_new(&self, projects: Vec<String>)[src]

pub fn find(&self, input: String) -> Vec<String>[src]

pub fn all(&self) -> Vec<String>[src]

pub fn remove(&self, project: String)[src]

pub fn append(&self, project: String)[src]

pub fn alias(&self, project: String, alias: String)[src]

pub fn remove_alias(&self, project: String)[src]

pub fn remove_alias_by_alias(&self, alias: String)[src]

pub fn all_aliased(&self) -> Vec<(String, String)>[src]

Auto Trait Implementations

impl !RefUnwindSafe for Database

impl Send for Database

impl !Sync for Database

impl Unpin for Database

impl !UnwindSafe for Database

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.