Struct tasklib::TaskBuilder
source · pub struct TaskBuilder { /* private fields */ }
Implementations§
source§impl TaskBuilder
impl TaskBuilder
pub fn id(self, id: usize) -> Self
pub fn uuid(self, uuid: &str) -> Self
pub fn description<T: ToString>(self, description: T) -> Self
pub fn entry(self, entry: DateTime<Utc>) -> Self
pub fn start(self, start: DateTime<Utc>) -> Self
pub fn end(self, end: DateTime<Utc>) -> Self
pub fn modified(self, modified: DateTime<Utc>) -> Self
pub fn status(self, status: Status) -> Self
pub fn tag(self, tag: String) -> Self
pub fn annotations(self, annotations: Vec<Annotation>) -> Self
pub fn priority(self, priority: String) -> Self
pub fn project<T: ToString>(self, project: T) -> Self
pub fn wait(self, wait: DateTime<Utc>) -> Self
pub fn scheduled(self, scheduled: DateTime<Utc>) -> Self
pub fn recur(self, recur: Duration) -> Self
pub fn mask(self, mask: String) -> Self
pub fn imask(self, imask: f64) -> Self
pub fn parent(self, parent: &str) -> Self
pub fn urgency(self, urgency: f64) -> Self
pub fn uda(self, name: String, uda: UdaValue) -> Self
Trait Implementations§
source§impl Debug for TaskBuilder
impl Debug for TaskBuilder
source§impl Default for TaskBuilder
impl Default for TaskBuilder
source§fn default() -> TaskBuilder
fn default() -> TaskBuilder
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TaskBuilder
impl RefUnwindSafe for TaskBuilder
impl Send for TaskBuilder
impl Sync for TaskBuilder
impl Unpin for TaskBuilder
impl UnwindSafe for TaskBuilder
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