pub struct NoSkipShippingQuery {
pub id: String,
pub from: BoxWrapper<Unbox<User>>,
pub invoice_payload: String,
pub shipping_address: BoxWrapper<Unbox<ShippingAddress>>,
}Expand description
Companion type to ShippingQuery that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§id: StringUnique query identifier
from: BoxWrapper<Unbox<User>>User who sent the query
invoice_payload: StringBot-specified invoice payload
shipping_address: BoxWrapper<Unbox<ShippingAddress>>User specified shipping address
Implementations§
Source§impl NoSkipShippingQuery
impl NoSkipShippingQuery
pub fn skip(self) -> ShippingQuery
Trait Implementations§
Source§impl Clone for NoSkipShippingQuery
impl Clone for NoSkipShippingQuery
Source§fn clone(&self) -> NoSkipShippingQuery
fn clone(&self) -> NoSkipShippingQuery
Returns a duplicate 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 NoSkipShippingQuery
impl Debug for NoSkipShippingQuery
Source§impl Default for NoSkipShippingQuery
impl Default for NoSkipShippingQuery
Source§fn default() -> NoSkipShippingQuery
fn default() -> NoSkipShippingQuery
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for NoSkipShippingQuery
impl<'de> Deserialize<'de> for NoSkipShippingQuery
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 From<NoSkipShippingQuery> for ShippingQuery
impl From<NoSkipShippingQuery> for ShippingQuery
Source§fn from(t: NoSkipShippingQuery) -> Self
fn from(t: NoSkipShippingQuery) -> Self
Converts to this type from the input type.
Source§impl Hash for NoSkipShippingQuery
impl Hash for NoSkipShippingQuery
Source§impl Into<NoSkipShippingQuery> for ShippingQuery
impl Into<NoSkipShippingQuery> for ShippingQuery
Source§fn into(self) -> NoSkipShippingQuery
fn into(self) -> NoSkipShippingQuery
Converts this type into the (usually inferred) input type.
Source§impl Ord for NoSkipShippingQuery
impl Ord for NoSkipShippingQuery
Source§fn cmp(&self, other: &NoSkipShippingQuery) -> Ordering
fn cmp(&self, other: &NoSkipShippingQuery) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for NoSkipShippingQuery
impl PartialEq for NoSkipShippingQuery
Source§impl PartialOrd for NoSkipShippingQuery
impl PartialOrd for NoSkipShippingQuery
Source§impl Serialize for NoSkipShippingQuery
impl Serialize for NoSkipShippingQuery
impl Eq for NoSkipShippingQuery
impl StructuralPartialEq for NoSkipShippingQuery
Auto Trait Implementations§
impl Freeze for NoSkipShippingQuery
impl RefUnwindSafe for NoSkipShippingQuery
impl Send for NoSkipShippingQuery
impl Sync for NoSkipShippingQuery
impl Unpin for NoSkipShippingQuery
impl UnsafeUnpin for NoSkipShippingQuery
impl UnwindSafe for NoSkipShippingQuery
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.