pub struct Checklist {
pub title: String,
pub title_entities: Option<Vec<MessageEntity>>,
pub tasks: Vec<ChecklistTask>,
pub others_can_add_tasks: Option<bool>,
pub others_can_mark_tasks_as_done: Option<bool>,
}Expand description
A checklist message content type.
Fields§
§title: StringTitle of the checklist.
title_entities: Option<Vec<MessageEntity>>Special entities in the checklist title.
tasks: Vec<ChecklistTask>List of tasks in the checklist.
others_can_add_tasks: Option<bool>true if users other than the creator can add tasks.
others_can_mark_tasks_as_done: Option<bool>true if users other than the creator can mark tasks as done or not done.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Checklist
impl<'de> Deserialize<'de> for Checklist
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 Checklist
impl RefUnwindSafe for Checklist
impl Send for Checklist
impl Sync for Checklist
impl Unpin for Checklist
impl UnsafeUnpin for Checklist
impl UnwindSafe for Checklist
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