pub struct InputStorePaymentStarsTopup {
pub stars: i64,
pub currency: String,
pub amount: i64,
pub spend_purpose_peer: Option<InputPeer>,
}Expand description
Generated from:
inputStorePaymentStarsTopup#f9a2a6cb flags:# stars:long currency:string amount:long spend_purpose_peer:flags.0?InputPeer = InputStorePaymentPurposeFields§
§stars: i64§currency: String§amount: i64§spend_purpose_peer: Option<InputPeer>Trait Implementations§
Source§impl Clone for InputStorePaymentStarsTopup
impl Clone for InputStorePaymentStarsTopup
Source§fn clone(&self) -> InputStorePaymentStarsTopup
fn clone(&self) -> InputStorePaymentStarsTopup
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 InputStorePaymentStarsTopup
impl Debug for InputStorePaymentStarsTopup
Source§impl Deserializable for InputStorePaymentStarsTopup
impl Deserializable for InputStorePaymentStarsTopup
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<InputStorePaymentStarsTopup> for InputStorePaymentPurpose
impl From<InputStorePaymentStarsTopup> for InputStorePaymentPurpose
Source§fn from(x: InputStorePaymentStarsTopup) -> Self
fn from(x: InputStorePaymentStarsTopup) -> Self
Converts to this type from the input type.
Source§impl Identifiable for InputStorePaymentStarsTopup
impl Identifiable for InputStorePaymentStarsTopup
Source§const CONSTRUCTOR_ID: u32 = 0xf9a2a6cb
const CONSTRUCTOR_ID: u32 = 0xf9a2a6cb
The constructor ID as specified in the TL schema.
Source§impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsTopup
impl TryFrom<InputStorePaymentPurpose> for InputStorePaymentStarsTopup
Source§type Error = InputStorePaymentPurpose
type Error = InputStorePaymentPurpose
The type returned in the event of a conversion error.
impl StructuralPartialEq for InputStorePaymentStarsTopup
Auto Trait Implementations§
impl Freeze for InputStorePaymentStarsTopup
impl RefUnwindSafe for InputStorePaymentStarsTopup
impl Send for InputStorePaymentStarsTopup
impl Sync for InputStorePaymentStarsTopup
impl Unpin for InputStorePaymentStarsTopup
impl UnsafeUnpin for InputStorePaymentStarsTopup
impl UnwindSafe for InputStorePaymentStarsTopup
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