Struct telexide::model::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<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 ShippingQuery
impl PartialEq 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
source§impl<T> CloneDebuggableStorage for Twhere
T: DebuggableStorage + Clone,
impl<T> CloneDebuggableStorage for Twhere T: DebuggableStorage + Clone,
fn clone_storage(&self) -> Box<dyn CloneDebuggableStorage>
source§impl<T> CloneableStorage for Twhere
T: Any + Send + Sync + Clone,
impl<T> CloneableStorage for Twhere T: Any + Send + Sync + Clone,
fn clone_storage(&self) -> Box<dyn CloneableStorage>
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§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,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.