pub struct StarTransactionTypeTelegramApiUsage {
pub request_count: i32,
}Expand description
The transaction is a payment for Telegram API usage; relevant for bots only
Fields§
§request_count: i32The number of billed requests
Trait Implementations§
Source§impl Clone for StarTransactionTypeTelegramApiUsage
impl Clone for StarTransactionTypeTelegramApiUsage
Source§fn clone(&self) -> StarTransactionTypeTelegramApiUsage
fn clone(&self) -> StarTransactionTypeTelegramApiUsage
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 Default for StarTransactionTypeTelegramApiUsage
impl Default for StarTransactionTypeTelegramApiUsage
Source§fn default() -> StarTransactionTypeTelegramApiUsage
fn default() -> StarTransactionTypeTelegramApiUsage
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypeTelegramApiUsage
impl<'de> Deserialize<'de> for StarTransactionTypeTelegramApiUsage
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 StarTransactionTypeTelegramApiUsage
impl PartialEq for StarTransactionTypeTelegramApiUsage
Source§fn eq(&self, other: &StarTransactionTypeTelegramApiUsage) -> bool
fn eq(&self, other: &StarTransactionTypeTelegramApiUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypeTelegramApiUsage
Auto Trait Implementations§
impl Freeze for StarTransactionTypeTelegramApiUsage
impl RefUnwindSafe for StarTransactionTypeTelegramApiUsage
impl Send for StarTransactionTypeTelegramApiUsage
impl Sync for StarTransactionTypeTelegramApiUsage
impl Unpin for StarTransactionTypeTelegramApiUsage
impl UnsafeUnpin for StarTransactionTypeTelegramApiUsage
impl UnwindSafe for StarTransactionTypeTelegramApiUsage
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