pub enum TaskEditKey {
Show 23 variants
Title,
Description,
Status,
Priority,
Tags,
Scope,
Evidence,
Plan,
Notes,
Request,
DependsOn,
Blocks,
RelatesTo,
Duplicates,
CustomFields,
Agent,
CreatedAt,
UpdatedAt,
CompletedAt,
StartedAt,
ScheduledStart,
EstimatedMinutes,
ActualMinutes,
}Variants§
Title
Description
Status
Priority
Tags
Scope
Evidence
Plan
Notes
Request
DependsOn
Blocks
RelatesTo
Duplicates
CustomFields
Agent
CreatedAt
UpdatedAt
CompletedAt
StartedAt
ScheduledStart
EstimatedMinutes
ActualMinutes
Implementations§
Source§impl TaskEditKey
impl TaskEditKey
pub fn as_str(self) -> &'static str
Sourcepub fn is_list_field(self) -> bool
pub fn is_list_field(self) -> bool
Returns whether this field is a list type (Vec<String>).
Sourcepub fn format_value(self, task: &Task, list_sep: &str) -> String
pub fn format_value(self, task: &Task, list_sep: &str) -> String
Format this field’s value from a task with the given list separator.
For list fields, elements are joined with the provided separator. For optional fields, returns empty string when None.
Trait Implementations§
Source§impl Clone for TaskEditKey
impl Clone for TaskEditKey
Source§fn clone(&self) -> TaskEditKey
fn clone(&self) -> TaskEditKey
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 moreSource§impl Debug for TaskEditKey
impl Debug for TaskEditKey
Source§impl From<TaskEditFieldArg> for TaskEditKey
impl From<TaskEditFieldArg> for TaskEditKey
Source§fn from(value: TaskEditFieldArg) -> Self
fn from(value: TaskEditFieldArg) -> Self
Converts to this type from the input type.
Source§impl FromStr for TaskEditKey
impl FromStr for TaskEditKey
Source§impl PartialEq for TaskEditKey
impl PartialEq for TaskEditKey
impl Copy for TaskEditKey
impl Eq for TaskEditKey
impl StructuralPartialEq for TaskEditKey
Auto Trait Implementations§
impl Freeze for TaskEditKey
impl RefUnwindSafe for TaskEditKey
impl Send for TaskEditKey
impl Sync for TaskEditKey
impl Unpin for TaskEditKey
impl UnsafeUnpin for TaskEditKey
impl UnwindSafe for TaskEditKey
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.