pub struct InputChecklist {
pub title: FormattedText,
pub tasks: Vec<InputChecklistTask>,
pub others_can_add_tasks: bool,
pub others_can_mark_tasks_as_done: bool,
}Expand description
Describes a checklist to be sent
Fields§
§title: FormattedTextTitle of the checklist; 1-getOption(“checklist_title_length_max”) characters. May contain only Bold, Italic, Underline, Strikethrough, Spoiler, and CustomEmoji entities
tasks: Vec<InputChecklistTask>List of tasks in the checklist; 1-getOption(“checklist_task_count_max”) tasks
others_can_add_tasks: boolTrue, if other users can add tasks to the list
others_can_mark_tasks_as_done: boolTrue, if other users can mark tasks as done or not done
Trait Implementations§
Source§impl Clone for InputChecklist
impl Clone for InputChecklist
Source§fn clone(&self) -> InputChecklist
fn clone(&self) -> InputChecklist
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 InputChecklist
impl Debug for InputChecklist
Source§impl Default for InputChecklist
impl Default for InputChecklist
Source§fn default() -> InputChecklist
fn default() -> InputChecklist
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for InputChecklist
impl<'de> Deserialize<'de> for InputChecklist
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
Source§impl PartialEq for InputChecklist
impl PartialEq for InputChecklist
Source§impl Serialize for InputChecklist
impl Serialize for InputChecklist
impl StructuralPartialEq for InputChecklist
Auto Trait Implementations§
impl Freeze for InputChecklist
impl RefUnwindSafe for InputChecklist
impl Send for InputChecklist
impl Sync for InputChecklist
impl Unpin for InputChecklist
impl UnsafeUnpin for InputChecklist
impl UnwindSafe for InputChecklist
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