Struct teloxide::types::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: 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§
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<ShippingQuery, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D
) -> Result<ShippingQuery, <__D as Deserializer<'de>>::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
source§fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.