Struct teloxide::types::WebAppData
source · Expand description
Contains data sent from a Web App to the bot.
Fields§
§data: String
The data. Be aware that a bad client can send arbitrary data in this field.
Text of the web_app keyboard button, from which the Web App was opened. Be aware that a bad client can send arbitrary data in this field.
Trait Implementations§
source§impl Clone for WebAppData
impl Clone for WebAppData
source§fn clone(&self) -> WebAppData
fn clone(&self) -> WebAppData
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 WebAppData
impl Debug for WebAppData
source§impl<'de> Deserialize<'de> for WebAppData
impl<'de> Deserialize<'de> for WebAppData
source§fn deserialize<__D>(
__deserializer: __D
) -> Result<WebAppData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<WebAppData, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Hash for WebAppData
impl Hash for WebAppData
source§impl PartialEq<WebAppData> for WebAppData
impl PartialEq<WebAppData> for WebAppData
source§fn eq(&self, other: &WebAppData) -> bool
fn eq(&self, other: &WebAppData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for WebAppData
impl Serialize for WebAppData
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for WebAppData
impl StructuralEq for WebAppData
impl StructuralPartialEq for WebAppData
Auto Trait Implementations§
impl RefUnwindSafe for WebAppData
impl Send for WebAppData
impl Sync for WebAppData
impl Unpin for WebAppData
impl UnwindSafe for WebAppData
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.