pub struct SuggestedPostPriceStar {
pub star_count: i64,
}Expand description
Describes price of a suggested post in Telegram Stars
Fields§
§star_count: i64The Telegram Star amount expected to be paid for the post; getOption(“suggested_post_star_count_min”)-getOption(“suggested_post_star_count_max”)
Trait Implementations§
Source§impl Clone for SuggestedPostPriceStar
impl Clone for SuggestedPostPriceStar
Source§fn clone(&self) -> SuggestedPostPriceStar
fn clone(&self) -> SuggestedPostPriceStar
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 SuggestedPostPriceStar
impl Debug for SuggestedPostPriceStar
Source§impl Default for SuggestedPostPriceStar
impl Default for SuggestedPostPriceStar
Source§fn default() -> SuggestedPostPriceStar
fn default() -> SuggestedPostPriceStar
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SuggestedPostPriceStar
impl<'de> Deserialize<'de> for SuggestedPostPriceStar
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 SuggestedPostPriceStar
impl PartialEq for SuggestedPostPriceStar
Source§impl Serialize for SuggestedPostPriceStar
impl Serialize for SuggestedPostPriceStar
impl StructuralPartialEq for SuggestedPostPriceStar
Auto Trait Implementations§
impl Freeze for SuggestedPostPriceStar
impl RefUnwindSafe for SuggestedPostPriceStar
impl Send for SuggestedPostPriceStar
impl Sync for SuggestedPostPriceStar
impl Unpin for SuggestedPostPriceStar
impl UnsafeUnpin for SuggestedPostPriceStar
impl UnwindSafe for SuggestedPostPriceStar
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