pub struct PaidReactor {
pub sender_id: Option<MessageSender>,
pub star_count: i64,
pub is_top: bool,
pub is_me: bool,
pub is_anonymous: bool,
}Expand description
Contains information about a user who added paid reactions
Fields§
§sender_id: Option<MessageSender>Identifier of the user or chat that added the reactions; may be null for anonymous reactors that aren’t the current user
star_count: i64Number of Telegram Stars added
is_top: boolTrue, if the reactor is one of the most active reactors; may be false if the reactor is the current user
is_me: boolTrue, if the paid reaction was added by the current user
is_anonymous: boolTrue, if the reactor is anonymous
Trait Implementations§
Source§impl Clone for PaidReactor
impl Clone for PaidReactor
Source§fn clone(&self) -> PaidReactor
fn clone(&self) -> PaidReactor
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 PaidReactor
impl Debug for PaidReactor
Source§impl Default for PaidReactor
impl Default for PaidReactor
Source§fn default() -> PaidReactor
fn default() -> PaidReactor
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for PaidReactor
impl<'de> Deserialize<'de> for PaidReactor
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 PaidReactor
impl PartialEq for PaidReactor
Source§impl Serialize for PaidReactor
impl Serialize for PaidReactor
impl StructuralPartialEq for PaidReactor
Auto Trait Implementations§
impl Freeze for PaidReactor
impl RefUnwindSafe for PaidReactor
impl Send for PaidReactor
impl Sync for PaidReactor
impl Unpin for PaidReactor
impl UnsafeUnpin for PaidReactor
impl UnwindSafe for PaidReactor
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