pub struct UpdateNewShippingQuery {
pub id: i64,
pub sender_user_id: i64,
pub invoice_payload: String,
pub shipping_address: Address,
}
Expand description
A new incoming shipping query; for bots only. Only for invoices with flexible price
Fields§
§id: i64
Unique query identifier
sender_user_id: i64
Identifier of the user who sent the query
invoice_payload: String
Invoice payload
shipping_address: Address
User shipping address
Trait Implementations§
Source§impl Clone for UpdateNewShippingQuery
impl Clone for UpdateNewShippingQuery
Source§fn clone(&self) -> UpdateNewShippingQuery
fn clone(&self) -> UpdateNewShippingQuery
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 UpdateNewShippingQuery
impl Debug for UpdateNewShippingQuery
Source§impl Default for UpdateNewShippingQuery
impl Default for UpdateNewShippingQuery
Source§fn default() -> UpdateNewShippingQuery
fn default() -> UpdateNewShippingQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for UpdateNewShippingQuery
impl<'de> Deserialize<'de> for UpdateNewShippingQuery
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 for UpdateNewShippingQuery
impl PartialEq for UpdateNewShippingQuery
Source§impl Serialize for UpdateNewShippingQuery
impl Serialize for UpdateNewShippingQuery
impl StructuralPartialEq for UpdateNewShippingQuery
Auto Trait Implementations§
impl Freeze for UpdateNewShippingQuery
impl RefUnwindSafe for UpdateNewShippingQuery
impl Send for UpdateNewShippingQuery
impl Sync for UpdateNewShippingQuery
impl Unpin for UpdateNewShippingQuery
impl UnwindSafe for UpdateNewShippingQuery
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