Struct botapi::gen_types::NoSkipSentWebAppMessage
source · pub struct NoSkipSentWebAppMessage {
pub inline_message_id: Option<String>,
}
Expand description
Companion type to SentWebAppMessage that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§inline_message_id: Option<String>
Implementations§
source§impl NoSkipSentWebAppMessage
impl NoSkipSentWebAppMessage
pub fn skip(self) -> SentWebAppMessage
Trait Implementations§
source§impl Clone for NoSkipSentWebAppMessage
impl Clone for NoSkipSentWebAppMessage
source§fn clone(&self) -> NoSkipSentWebAppMessage
fn clone(&self) -> NoSkipSentWebAppMessage
Returns a copy 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 NoSkipSentWebAppMessage
impl Debug for NoSkipSentWebAppMessage
source§impl Default for NoSkipSentWebAppMessage
impl Default for NoSkipSentWebAppMessage
source§fn default() -> NoSkipSentWebAppMessage
fn default() -> NoSkipSentWebAppMessage
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipSentWebAppMessage
impl<'de> Deserialize<'de> for NoSkipSentWebAppMessage
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<NoSkipSentWebAppMessage> for SentWebAppMessage
impl From<NoSkipSentWebAppMessage> for SentWebAppMessage
source§fn from(t: NoSkipSentWebAppMessage) -> Self
fn from(t: NoSkipSentWebAppMessage) -> Self
Converts to this type from the input type.
source§impl Hash for NoSkipSentWebAppMessage
impl Hash for NoSkipSentWebAppMessage
source§impl Into<NoSkipSentWebAppMessage> for SentWebAppMessage
impl Into<NoSkipSentWebAppMessage> for SentWebAppMessage
source§fn into(self) -> NoSkipSentWebAppMessage
fn into(self) -> NoSkipSentWebAppMessage
Converts this type into the (usually inferred) input type.
source§impl Ord for NoSkipSentWebAppMessage
impl Ord for NoSkipSentWebAppMessage
source§fn cmp(&self, other: &NoSkipSentWebAppMessage) -> Ordering
fn cmp(&self, other: &NoSkipSentWebAppMessage) -> 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 NoSkipSentWebAppMessage
impl PartialEq for NoSkipSentWebAppMessage
source§fn eq(&self, other: &NoSkipSentWebAppMessage) -> bool
fn eq(&self, other: &NoSkipSentWebAppMessage) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NoSkipSentWebAppMessage
impl PartialOrd for NoSkipSentWebAppMessage
source§fn partial_cmp(&self, other: &NoSkipSentWebAppMessage) -> Option<Ordering>
fn partial_cmp(&self, other: &NoSkipSentWebAppMessage) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moresource§impl Serialize for NoSkipSentWebAppMessage
impl Serialize for NoSkipSentWebAppMessage
impl Eq for NoSkipSentWebAppMessage
impl StructuralPartialEq for NoSkipSentWebAppMessage
Auto Trait Implementations§
impl Freeze for NoSkipSentWebAppMessage
impl RefUnwindSafe for NoSkipSentWebAppMessage
impl Send for NoSkipSentWebAppMessage
impl Sync for NoSkipSentWebAppMessage
impl Unpin for NoSkipSentWebAppMessage
impl UnwindSafe for NoSkipSentWebAppMessage
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.