pub struct InputStorePaymentStarsGift {
pub user_id: InputUser,
pub stars: i64,
pub currency: String,
pub amount: i64,
}Expand description
Generated from:
inputStorePaymentStarsGift#1d741ef7 user_id:InputUser stars:long currency:string amount:long = InputStorePaymentPurposeFields§
§user_id: InputUser§stars: i64§currency: String§amount: i64Trait Implementations§
Source§impl Clone for InputStorePaymentStarsGift
impl Clone for InputStorePaymentStarsGift
Source§fn clone(&self) -> InputStorePaymentStarsGift
fn clone(&self) -> InputStorePaymentStarsGift
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 InputStorePaymentStarsGift
impl Debug for InputStorePaymentStarsGift
Source§impl Deserializable for InputStorePaymentStarsGift
impl Deserializable for InputStorePaymentStarsGift
Source§fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
fn deserialize(buf: Buffer<'_, '_>) -> Result<Self>
Read
Self from buf, advancing its position.Source§fn from_bytes(bytes: &[u8]) -> Result<Self>
fn from_bytes(bytes: &[u8]) -> Result<Self>
Convenience: deserialize from a byte slice.
Source§impl From<InputStorePaymentStarsGift> for InputStorePaymentPurpose
impl From<InputStorePaymentStarsGift> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentStarsGift) -> Self
fn from(x: InputStorePaymentStarsGift) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentStarsGift
impl Identifiable for InputStorePaymentStarsGift
Source§const CONSTRUCTOR_ID: u32 = 0x1d741ef7
const CONSTRUCTOR_ID: u32 = 0x1d741ef7
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGift
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsGift
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStorePaymentStarsGift
Auto Trait Implementations§
impl Freeze for InputStorePaymentStarsGift
impl RefUnwindSafe for InputStorePaymentStarsGift
impl Send for InputStorePaymentStarsGift
impl Sync for InputStorePaymentStarsGift
impl Unpin for InputStorePaymentStarsGift
impl UnsafeUnpin for InputStorePaymentStarsGift
impl UnwindSafe for InputStorePaymentStarsGift
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