Struct botx_api::bot::models::command_data::SmartappEventCommandData
source · pub struct SmartappEventCommandData {
pub request_ref: Uuid,
pub smartapp_id: Uuid,
pub data: Value,
pub opts: Value,
pub smartapp_api_version: u16,
}Expand description
Событие отправляется клиентом при взаимодействии со smartapp приложением
Fields§
§request_ref: Uuidуникальный идентификатор запроса
smartapp_id: UuidID смарт аппа
data: Valueпользовательские данные
opts: Valueопции запроса
smartapp_api_version: u16версия протокола smartapp <-> bot
Trait Implementations§
source§impl Debug for SmartappEventCommandData
impl Debug for SmartappEventCommandData
source§impl<'de> Deserialize<'de> for SmartappEventCommandData
impl<'de> Deserialize<'de> for SmartappEventCommandData
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<SmartappEventCommandData> for SmartappEventCommandData
impl PartialEq<SmartappEventCommandData> for SmartappEventCommandData
source§fn eq(&self, other: &SmartappEventCommandData) -> bool
fn eq(&self, other: &SmartappEventCommandData) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for SmartappEventCommandData
impl Serialize for SmartappEventCommandData
impl Eq for SmartappEventCommandData
impl StructuralEq for SmartappEventCommandData
impl StructuralPartialEq for SmartappEventCommandData
Auto Trait Implementations§
impl RefUnwindSafe for SmartappEventCommandData
impl Send for SmartappEventCommandData
impl Sync for SmartappEventCommandData
impl Unpin for SmartappEventCommandData
impl UnwindSafe for SmartappEventCommandData
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<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.