pub struct AddTaskToSectionData {
pub task: String,
pub insert_before: Option<String>,
pub insert_after: Option<String>,
}Expand description
Payload for adding a task to a section.
Fields§
§task: StringTask gid to add to the section.
insert_before: Option<String>Optional: insert task before this task gid.
insert_after: Option<String>Optional: insert task after this task gid.
Trait Implementations§
Source§impl Clone for AddTaskToSectionData
impl Clone for AddTaskToSectionData
Source§fn clone(&self) -> AddTaskToSectionData
fn clone(&self) -> AddTaskToSectionData
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 AddTaskToSectionData
impl Debug for AddTaskToSectionData
impl Eq for AddTaskToSectionData
Source§impl PartialEq for AddTaskToSectionData
impl PartialEq for AddTaskToSectionData
Source§impl Serialize for AddTaskToSectionData
impl Serialize for AddTaskToSectionData
impl StructuralPartialEq for AddTaskToSectionData
Auto Trait Implementations§
impl Freeze for AddTaskToSectionData
impl RefUnwindSafe for AddTaskToSectionData
impl Send for AddTaskToSectionData
impl Sync for AddTaskToSectionData
impl Unpin for AddTaskToSectionData
impl UnsafeUnpin for AddTaskToSectionData
impl UnwindSafe for AddTaskToSectionData
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