pub struct StarTransactionTypeBusinessBotTransferReceive {
pub user_id: i64,
}Expand description
The transaction is a transfer of Telegram Stars from a business account; relevant for bots only
Fields§
§user_id: i64Identifier of the user who sent Telegram Stars
Trait Implementations§
Source§impl Clone for StarTransactionTypeBusinessBotTransferReceive
impl Clone for StarTransactionTypeBusinessBotTransferReceive
Source§fn clone(&self) -> StarTransactionTypeBusinessBotTransferReceive
fn clone(&self) -> StarTransactionTypeBusinessBotTransferReceive
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 StarTransactionTypeBusinessBotTransferReceive
impl Default for StarTransactionTypeBusinessBotTransferReceive
Source§fn default() -> StarTransactionTypeBusinessBotTransferReceive
fn default() -> StarTransactionTypeBusinessBotTransferReceive
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for StarTransactionTypeBusinessBotTransferReceive
impl<'de> Deserialize<'de> for StarTransactionTypeBusinessBotTransferReceive
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 StarTransactionTypeBusinessBotTransferReceive
impl PartialEq for StarTransactionTypeBusinessBotTransferReceive
Source§fn eq(&self, other: &StarTransactionTypeBusinessBotTransferReceive) -> bool
fn eq(&self, other: &StarTransactionTypeBusinessBotTransferReceive) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for StarTransactionTypeBusinessBotTransferReceive
Auto Trait Implementations§
impl Freeze for StarTransactionTypeBusinessBotTransferReceive
impl RefUnwindSafe for StarTransactionTypeBusinessBotTransferReceive
impl Send for StarTransactionTypeBusinessBotTransferReceive
impl Sync for StarTransactionTypeBusinessBotTransferReceive
impl Unpin for StarTransactionTypeBusinessBotTransferReceive
impl UnsafeUnpin for StarTransactionTypeBusinessBotTransferReceive
impl UnwindSafe for StarTransactionTypeBusinessBotTransferReceive
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