Struct botapi::gen_types::NoSkipTransactionPartnerOther
source · pub struct NoSkipTransactionPartnerOther {
pub tg_type: String,
}
Expand description
Companion type to TransactionPartnerOther that doesn’t skip fields when serializing. Used for certain deserializers that use arrays to represent struct members
Fields§
§tg_type: String
Type of the transaction partner, always “other”
Implementations§
source§impl NoSkipTransactionPartnerOther
impl NoSkipTransactionPartnerOther
pub fn skip(self) -> TransactionPartnerOther
Trait Implementations§
source§impl Clone for NoSkipTransactionPartnerOther
impl Clone for NoSkipTransactionPartnerOther
source§fn clone(&self) -> NoSkipTransactionPartnerOther
fn clone(&self) -> NoSkipTransactionPartnerOther
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 Default for NoSkipTransactionPartnerOther
impl Default for NoSkipTransactionPartnerOther
source§fn default() -> NoSkipTransactionPartnerOther
fn default() -> NoSkipTransactionPartnerOther
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for NoSkipTransactionPartnerOther
impl<'de> Deserialize<'de> for NoSkipTransactionPartnerOther
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<NoSkipTransactionPartnerOther> for TransactionPartnerOther
impl From<NoSkipTransactionPartnerOther> for TransactionPartnerOther
source§fn from(t: NoSkipTransactionPartnerOther) -> Self
fn from(t: NoSkipTransactionPartnerOther) -> Self
Converts to this type from the input type.
source§impl Hash for NoSkipTransactionPartnerOther
impl Hash for NoSkipTransactionPartnerOther
source§impl Into<NoSkipTransactionPartnerOther> for TransactionPartnerOther
impl Into<NoSkipTransactionPartnerOther> for TransactionPartnerOther
source§fn into(self) -> NoSkipTransactionPartnerOther
fn into(self) -> NoSkipTransactionPartnerOther
Converts this type into the (usually inferred) input type.
source§impl Ord for NoSkipTransactionPartnerOther
impl Ord for NoSkipTransactionPartnerOther
source§fn cmp(&self, other: &NoSkipTransactionPartnerOther) -> Ordering
fn cmp(&self, other: &NoSkipTransactionPartnerOther) -> 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 NoSkipTransactionPartnerOther
impl PartialEq for NoSkipTransactionPartnerOther
source§fn eq(&self, other: &NoSkipTransactionPartnerOther) -> bool
fn eq(&self, other: &NoSkipTransactionPartnerOther) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NoSkipTransactionPartnerOther
impl PartialOrd for NoSkipTransactionPartnerOther
source§fn partial_cmp(&self, other: &NoSkipTransactionPartnerOther) -> Option<Ordering>
fn partial_cmp(&self, other: &NoSkipTransactionPartnerOther) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for NoSkipTransactionPartnerOther
impl StructuralPartialEq for NoSkipTransactionPartnerOther
Auto Trait Implementations§
impl Freeze for NoSkipTransactionPartnerOther
impl RefUnwindSafe for NoSkipTransactionPartnerOther
impl Send for NoSkipTransactionPartnerOther
impl Sync for NoSkipTransactionPartnerOther
impl Unpin for NoSkipTransactionPartnerOther
impl UnwindSafe for NoSkipTransactionPartnerOther
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)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.