pub struct NoSkipChecklistTask {
pub id: i64,
pub text: String,
pub text_entities: Option<Vec<MessageEntity>>,
pub completed_by_user: Option<BoxWrapper<Unbox<User>>>,
pub completed_by_chat: Option<BoxWrapper<Unbox<Chat>>>,
pub completion_date: Option<i64>,
}Expand description
Companion type to ChecklistTask that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§id: i64Unique identifier of the task
text: StringText of the task
text_entities: Option<Vec<MessageEntity>>§completed_by_user: Option<BoxWrapper<Unbox<User>>>§completed_by_chat: Option<BoxWrapper<Unbox<Chat>>>§completion_date: Option<i64>Implementations§
Source§impl NoSkipChecklistTask
impl NoSkipChecklistTask
pub fn skip(self) -> ChecklistTask
Trait Implementations§
Source§impl Clone for NoSkipChecklistTask
impl Clone for NoSkipChecklistTask
Source§fn clone(&self) -> NoSkipChecklistTask
fn clone(&self) -> NoSkipChecklistTask
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 NoSkipChecklistTask
impl Debug for NoSkipChecklistTask
Source§impl Default for NoSkipChecklistTask
impl Default for NoSkipChecklistTask
Source§fn default() -> NoSkipChecklistTask
fn default() -> NoSkipChecklistTask
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipChecklistTask
impl<'de> Deserialize<'de> for NoSkipChecklistTask
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 From<NoSkipChecklistTask> for ChecklistTask
impl From<NoSkipChecklistTask> for ChecklistTask
Source§fn from(t: NoSkipChecklistTask) -> Self
fn from(t: NoSkipChecklistTask) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipChecklistTask
impl Hash for NoSkipChecklistTask
Source§impl Into<NoSkipChecklistTask> for ChecklistTask
impl Into<NoSkipChecklistTask> for ChecklistTask
Source§fn into(self) -> NoSkipChecklistTask
fn into(self) -> NoSkipChecklistTask
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipChecklistTask
impl Ord for NoSkipChecklistTask
Source§fn cmp(&self, other: &NoSkipChecklistTask) -> Ordering
fn cmp(&self, other: &NoSkipChecklistTask) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoSkipChecklistTask
impl PartialEq for NoSkipChecklistTask
Source§impl PartialOrd for NoSkipChecklistTask
impl PartialOrd for NoSkipChecklistTask
Source§impl Serialize for NoSkipChecklistTask
impl Serialize for NoSkipChecklistTask
impl Eq for NoSkipChecklistTask
impl StructuralPartialEq for NoSkipChecklistTask
Auto Trait Implementations§
impl Freeze for NoSkipChecklistTask
impl RefUnwindSafe for NoSkipChecklistTask
impl Send for NoSkipChecklistTask
impl Sync for NoSkipChecklistTask
impl Unpin for NoSkipChecklistTask
impl UnsafeUnpin for NoSkipChecklistTask
impl UnwindSafe for NoSkipChecklistTask
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.