Struct tg_flows::ShippingQuery
source · pub struct ShippingQuery {
pub id: String,
pub from: User,
pub invoice_payload: String,
pub shipping_address: ShippingAddress,
}Expand description
This object contains information about an incoming shipping query.
Fields§
§id: StringUnique query identifier.
from: UserUser who sent the query.
invoice_payload: StringBot specified invoice payload.
shipping_address: ShippingAddressUser specified shipping address.
Trait Implementations§
source§impl Clone for ShippingQuery
impl Clone for ShippingQuery
source§fn clone(&self) -> ShippingQuery
fn clone(&self) -> ShippingQuery
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 ShippingQuery
impl Debug for ShippingQuery
source§impl<'de> Deserialize<'de> for ShippingQuery
impl<'de> Deserialize<'de> for ShippingQuery
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 Hash for ShippingQuery
impl Hash for ShippingQuery
source§impl PartialEq<ShippingQuery> for ShippingQuery
impl PartialEq<ShippingQuery> for ShippingQuery
source§fn eq(&self, other: &ShippingQuery) -> bool
fn eq(&self, other: &ShippingQuery) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for ShippingQuery
impl Serialize for ShippingQuery
impl Eq for ShippingQuery
impl StructuralEq for ShippingQuery
impl StructuralPartialEq for ShippingQuery
Auto Trait Implementations§
impl RefUnwindSafe for ShippingQuery
impl Send for ShippingQuery
impl Sync for ShippingQuery
impl Unpin for ShippingQuery
impl UnwindSafe for ShippingQuery
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