pub struct MessageSuggestedPostPaid {
pub suggested_post_message_id: i64,
pub star_amount: StarAmount,
pub ton_amount: i64,
}Expand description
A suggested post was published for getOption(“suggested_post_lifetime_min”) seconds and payment for the post was received
Fields§
§suggested_post_message_id: i64Identifier of the message with the suggested post; may be 0 or an identifier of a deleted message
star_amount: StarAmountThe amount of received Telegram Stars
ton_amount: i64The amount of received Toncoins; in the smallest units of the cryptocurrency
Trait Implementations§
Source§impl Clone for MessageSuggestedPostPaid
impl Clone for MessageSuggestedPostPaid
Source§fn clone(&self) -> MessageSuggestedPostPaid
fn clone(&self) -> MessageSuggestedPostPaid
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 MessageSuggestedPostPaid
impl Debug for MessageSuggestedPostPaid
Source§impl Default for MessageSuggestedPostPaid
impl Default for MessageSuggestedPostPaid
Source§fn default() -> MessageSuggestedPostPaid
fn default() -> MessageSuggestedPostPaid
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MessageSuggestedPostPaid
impl<'de> Deserialize<'de> for MessageSuggestedPostPaid
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 MessageSuggestedPostPaid
impl PartialEq for MessageSuggestedPostPaid
Source§impl Serialize for MessageSuggestedPostPaid
impl Serialize for MessageSuggestedPostPaid
impl StructuralPartialEq for MessageSuggestedPostPaid
Auto Trait Implementations§
impl Freeze for MessageSuggestedPostPaid
impl RefUnwindSafe for MessageSuggestedPostPaid
impl Send for MessageSuggestedPostPaid
impl Sync for MessageSuggestedPostPaid
impl Unpin for MessageSuggestedPostPaid
impl UnsafeUnpin for MessageSuggestedPostPaid
impl UnwindSafe for MessageSuggestedPostPaid
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