pub struct DeleteTodoPrompt {
pub task_index: i64,
pub content: String,
}Expand description
Confirmation required before deleting a TODO.
Fields§
§task_index: i64§content: StringImplementations§
Source§impl DeleteTodoPrompt
impl DeleteTodoPrompt
pub fn view(&self) -> DeleteTodoPromptView
Trait Implementations§
Source§impl Clone for DeleteTodoPrompt
impl Clone for DeleteTodoPrompt
Source§fn clone(&self) -> DeleteTodoPrompt
fn clone(&self) -> DeleteTodoPrompt
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 DeleteTodoPrompt
impl Debug for DeleteTodoPrompt
impl Eq for DeleteTodoPrompt
Source§impl PartialEq for DeleteTodoPrompt
impl PartialEq for DeleteTodoPrompt
Source§fn eq(&self, other: &DeleteTodoPrompt) -> bool
fn eq(&self, other: &DeleteTodoPrompt) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DeleteTodoPrompt
Auto Trait Implementations§
impl Freeze for DeleteTodoPrompt
impl RefUnwindSafe for DeleteTodoPrompt
impl Send for DeleteTodoPrompt
impl Sync for DeleteTodoPrompt
impl Unpin for DeleteTodoPrompt
impl UnsafeUnpin for DeleteTodoPrompt
impl UnwindSafe for DeleteTodoPrompt
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