#[repr(i32)]pub enum TCStatus {
Pending = 0,
Completed = 1,
Deleted = 2,
Recurring = 3,
Unknown = -1,
}Expand description
***** TCStatus *****
The status of a task, as defined by the task data model.
#ifdef __cplusplus
typedef enum TCStatus : int32_t {
#else // __cplusplus
typedef int32_t TCStatus;
enum TCStatus {
#endif // __cplusplus
TC_STATUS_PENDING = 0,
TC_STATUS_COMPLETED = 1,
TC_STATUS_DELETED = 2,
TC_STATUS_RECURRING = 3,
// Unknown signifies a status in the task DB that was not
// recognized.
TC_STATUS_UNKNOWN = -1,
#ifdef __cplusplus
} TCStatus;
#else // __cplusplus
};
#endif // __cplusplusVariants§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TCStatus
impl RefUnwindSafe for TCStatus
impl Send for TCStatus
impl Sync for TCStatus
impl Unpin for TCStatus
impl UnwindSafe for TCStatus
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
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