pub struct Task { /* private fields */ }Trait Implementations§
Source§impl Task for Task
impl Task for Task
fn id(&self) -> String
fn name(&self) -> RichString
fn created_at(&self) -> Option<DateTimeUtc>
fn due(&self) -> Option<DateTimeUtc>
fn place(&self) -> String
fn state(&self) -> State
fn provider(&self) -> String
fn project(&self) -> Option<Box<dyn ProjectTrait>>
fn as_any(&self) -> &dyn Any
fn url(&self) -> String
fn clone_boxed(&self) -> Box<dyn TaskTrait>
fn const_patch_policy(&self) -> PatchPolicy
fn description(&self) -> Option<RichString>
fn priority(&self) -> Priority
fn updated_at(&self) -> Option<DateTime<Utc>>
fn completed_at(&self) -> Option<DateTime<Utc>>
fn scheduled(&self) -> Option<DateTime<Utc>>
fn planned_date(&self) -> Option<DateTime<Utc>>
fn labels(&self) -> Vec<String>
fn patch_policy(&self) -> PatchPolicy
Auto Trait Implementations§
impl Freeze for Task
impl RefUnwindSafe for Task
impl Send for Task
impl Sync for Task
impl Unpin for Task
impl UnsafeUnpin for Task
impl UnwindSafe for Task
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more