Struct telegram_bot_api::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
Implementations
sourceimpl ShippingQuery
impl ShippingQuery
Trait Implementations
sourceimpl Clone for ShippingQuery
impl Clone for ShippingQuery
sourcefn clone(&self) -> ShippingQuery
fn clone(&self) -> ShippingQuery
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ShippingQuery
impl Debug for ShippingQuery
sourceimpl<'de> Deserialize<'de> for ShippingQuery
impl<'de> Deserialize<'de> for ShippingQuery
sourcefn 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
sourceimpl Serialize for ShippingQuery
impl Serialize 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more