pub struct RequestWebViewButton {
pub user_id: InputUser,
pub button: KeyboardButton,
}Expand description
Generated from:
bots.requestWebViewButton#31a2a35e user_id:InputUser button:KeyboardButton = bots.RequestedButtonFields§
§user_id: InputUserTrait Implementations§
Source§impl Clone for RequestWebViewButton
impl Clone for RequestWebViewButton
Source§fn clone(&self) -> RequestWebViewButton
fn clone(&self) -> RequestWebViewButton
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 RequestWebViewButton
impl Debug for RequestWebViewButton
Source§impl Deserializable for RequestWebViewButton
impl Deserializable for RequestWebViewButton
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl Identifiable for RequestWebViewButton
impl Identifiable for RequestWebViewButton
Source§const CONSTRUCTOR_ID: u32 = 0x31a2a35e
const CONSTRUCTOR_ID: u32 = 0x31a2a35e
The constructor ID as specified in the TL schema.
Source§impl PartialEq for RequestWebViewButton
impl PartialEq for RequestWebViewButton
Source§impl RemoteCall for RequestWebViewButton
impl RemoteCall for RequestWebViewButton
Source§type Return = RequestedButton
type Return = RequestedButton
The deserialized response type.
Source§impl Serializable for RequestWebViewButton
impl Serializable for RequestWebViewButton
impl StructuralPartialEq for RequestWebViewButton
Auto Trait Implementations§
impl Freeze for RequestWebViewButton
impl RefUnwindSafe for RequestWebViewButton
impl Send for RequestWebViewButton
impl Sync for RequestWebViewButton
impl Unpin for RequestWebViewButton
impl UnsafeUnpin for RequestWebViewButton
impl UnwindSafe for RequestWebViewButton
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