[][src]Struct tg_bot_models::ShippingQuery

pub struct ShippingQuery {
    pub id: String,
    pub from: User,
    pub invoice_payload: String,
    pub shipping_address: ShippingAddress,
}

This object contains information about an incoming shipping query.

Fields

id: String

Unique query identifier

from: User

User who sent the query

invoice_payload: String

Bot specified invoice payload

shipping_address: ShippingAddress

User specified shipping address

Trait Implementations

impl PartialEq<ShippingQuery> for ShippingQuery[src]

impl Clone for ShippingQuery[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl PartialOrd<ShippingQuery> for ShippingQuery[src]

impl Debug for ShippingQuery[src]

impl Serialize for ShippingQuery[src]

impl<'de> Deserialize<'de> for ShippingQuery[src]

Auto Trait Implementations

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: Deserialize<'de>, 
[src]