pub struct InputChecklistTask {
pub id: i64,
pub text: String,
pub parse_mode: Option<ParseMode>,
pub text_entities: Option<Vec<MessageEntity>>,
}Expand description
A task to add when creating or editing a checklist.
Fields§
§id: i64Unique identifier of the task; must be positive and unique within the checklist.
text: StringText of the task (1–100 characters after entities parsing).
parse_mode: Option<ParseMode>Parse mode for entities in the task text.
text_entities: Option<Vec<MessageEntity>>Special entities in the task text; alternative to parse_mode.
Trait Implementations§
Source§impl Clone for InputChecklistTask
impl Clone for InputChecklistTask
Source§fn clone(&self) -> InputChecklistTask
fn clone(&self) -> InputChecklistTask
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 InputChecklistTask
impl Debug for InputChecklistTask
Source§impl<'de> Deserialize<'de> for InputChecklistTask
impl<'de> Deserialize<'de> for InputChecklistTask
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 InputChecklistTask
impl RefUnwindSafe for InputChecklistTask
impl Send for InputChecklistTask
impl Sync for InputChecklistTask
impl Unpin for InputChecklistTask
impl UnsafeUnpin for InputChecklistTask
impl UnwindSafe for InputChecklistTask
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