Struct safe_vk::responses::ButtonPressCallback
source · pub struct ButtonPressCallback<T> {
pub conversation_message_id: i32,
pub event_id: String,
pub payload: T,
pub peer_id: i32,
pub user_id: i32,
}Fields§
§conversation_message_id: i32The ID of the conversation message associated with the button press.
event_id: StringA unique identifier for this particular event occurrence.
payload: TAn object containing additional data sent with the button press. The structure of this object is defined by the button’s payload.
peer_id: i32The ID of the conversation (chat) where the button was pressed.
user_id: i32The user ID of the user who pressed the button.
Trait Implementations§
source§impl<T: Debug> Debug for ButtonPressCallback<T>
impl<T: Debug> Debug for ButtonPressCallback<T>
source§impl<'de, T> Deserialize<'de> for ButtonPressCallback<T>where
T: Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ButtonPressCallback<T>where
T: Deserialize<'de>,
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<T> Freeze for ButtonPressCallback<T>where
T: Freeze,
impl<T> RefUnwindSafe for ButtonPressCallback<T>where
T: RefUnwindSafe,
impl<T> Send for ButtonPressCallback<T>where
T: Send,
impl<T> Sync for ButtonPressCallback<T>where
T: Sync,
impl<T> Unpin for ButtonPressCallback<T>where
T: Unpin,
impl<T> UnwindSafe for ButtonPressCallback<T>where
T: UnwindSafe,
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