pub struct UpdateBotPrecheckoutQuery {
pub query_id: i64,
pub user_id: i64,
pub payload: Vec<u8>,
pub info: Option<PaymentRequestedInfo>,
pub shipping_option_id: Option<String>,
pub currency: String,
pub total_amount: i64,
}Expand description
Generated from:
updateBotPrecheckoutQuery#8caa9a96 flags:# query_id:long user_id:long payload:bytes info:flags.0?PaymentRequestedInfo shipping_option_id:flags.1?string currency:string total_amount:long = UpdateFields§
§query_id: i64§user_id: i64§payload: Vec<u8>§info: Option<PaymentRequestedInfo>§shipping_option_id: Option<String>§currency: String§total_amount: i64Trait Implementations§
Source§impl Clone for UpdateBotPrecheckoutQuery
impl Clone for UpdateBotPrecheckoutQuery
Source§fn clone(&self) -> UpdateBotPrecheckoutQuery
fn clone(&self) -> UpdateBotPrecheckoutQuery
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 UpdateBotPrecheckoutQuery
impl Debug for UpdateBotPrecheckoutQuery
Source§impl Deserializable for UpdateBotPrecheckoutQuery
impl Deserializable for UpdateBotPrecheckoutQuery
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 From<UpdateBotPrecheckoutQuery> for Update
impl From<UpdateBotPrecheckoutQuery> for Update
Source§fn from(x: UpdateBotPrecheckoutQuery) -> Self
fn from(x: UpdateBotPrecheckoutQuery) -> Self
Converts to this type from the input type.
Source§impl Identifiable for UpdateBotPrecheckoutQuery
impl Identifiable for UpdateBotPrecheckoutQuery
Source§const CONSTRUCTOR_ID: u32 = 0x8caa9a96
const CONSTRUCTOR_ID: u32 = 0x8caa9a96
The constructor ID as specified in the TL schema.
Source§impl TryFrom<Update> for UpdateBotPrecheckoutQuery
impl TryFrom<Update> for UpdateBotPrecheckoutQuery
impl StructuralPartialEq for UpdateBotPrecheckoutQuery
Auto Trait Implementations§
impl Freeze for UpdateBotPrecheckoutQuery
impl RefUnwindSafe for UpdateBotPrecheckoutQuery
impl Send for UpdateBotPrecheckoutQuery
impl Sync for UpdateBotPrecheckoutQuery
impl Unpin for UpdateBotPrecheckoutQuery
impl UnsafeUnpin for UpdateBotPrecheckoutQuery
impl UnwindSafe for UpdateBotPrecheckoutQuery
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