pub struct GiftResalePriceTon {
pub toncoin_cent_count: i64,
}Expand description
Describes price of a resold gift in Toncoins
Fields§
§toncoin_cent_count: i64The amount of 1/100 of Toncoin expected to be paid for the gift. Must be in the range getOption(“gift_resale_toncoin_cent_count_min”)-getOption(“gift_resale_toncoin_cent_count_max”)
Trait Implementations§
Source§impl Clone for GiftResalePriceTon
impl Clone for GiftResalePriceTon
Source§fn clone(&self) -> GiftResalePriceTon
fn clone(&self) -> GiftResalePriceTon
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GiftResalePriceTon
impl Debug for GiftResalePriceTon
Source§impl Default for GiftResalePriceTon
impl Default for GiftResalePriceTon
Source§fn default() -> GiftResalePriceTon
fn default() -> GiftResalePriceTon
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GiftResalePriceTon
impl<'de> Deserialize<'de> for GiftResalePriceTon
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 GiftResalePriceTon
impl PartialEq for GiftResalePriceTon
Source§fn eq(&self, other: &GiftResalePriceTon) -> bool
fn eq(&self, other: &GiftResalePriceTon) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GiftResalePriceTon
impl Serialize for GiftResalePriceTon
impl StructuralPartialEq for GiftResalePriceTon
Auto Trait Implementations§
impl Freeze for GiftResalePriceTon
impl RefUnwindSafe for GiftResalePriceTon
impl Send for GiftResalePriceTon
impl Sync for GiftResalePriceTon
impl Unpin for GiftResalePriceTon
impl UnsafeUnpin for GiftResalePriceTon
impl UnwindSafe for GiftResalePriceTon
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