pub struct ChecklistTasksDone {
pub checklist_message: Option<Box<Message>>,
pub marked_as_done_task_ids: Option<Vec<i64>>,
pub marked_as_not_done_task_ids: Option<Vec<i64>>,
}Expand description
Service message: tasks in a checklist were marked as done or not done.
Fields§
§checklist_message: Option<Box<Message>>Message containing the checklist whose tasks were updated.
Boxed to break the recursive Message → ChecklistTasksDone → Message cycle.
Will not contain reply_to_message even if the message itself is a reply.
marked_as_done_task_ids: Option<Vec<i64>>Identifiers of the tasks that were marked as done.
marked_as_not_done_task_ids: Option<Vec<i64>>Identifiers of the tasks that were marked as not done.
Trait Implementations§
Source§impl Clone for ChecklistTasksDone
impl Clone for ChecklistTasksDone
Source§fn clone(&self) -> ChecklistTasksDone
fn clone(&self) -> ChecklistTasksDone
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 ChecklistTasksDone
impl Debug for ChecklistTasksDone
Source§impl<'de> Deserialize<'de> for ChecklistTasksDone
impl<'de> Deserialize<'de> for ChecklistTasksDone
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChecklistTasksDone
impl RefUnwindSafe for ChecklistTasksDone
impl Send for ChecklistTasksDone
impl Sync for ChecklistTasksDone
impl Unpin for ChecklistTasksDone
impl UnsafeUnpin for ChecklistTasksDone
impl UnwindSafe for ChecklistTasksDone
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