pub struct SendStarGiftOffer {
pub peer: InputPeer,
pub slug: String,
pub price: StarsAmount,
pub duration: i32,
pub random_id: i64,
pub allow_paid_stars: Option<i64>,
}Expand description
Generated from:
payments.sendStarGiftOffer#8fb86b41 flags:# peer:InputPeer slug:string price:StarsAmount duration:int random_id:long allow_paid_stars:flags.0?long = UpdatesFields§
§peer: InputPeer§slug: String§price: StarsAmount§duration: i32§random_id: i64§allow_paid_stars: Option<i64>Trait Implementations§
Source§impl Clone for SendStarGiftOffer
impl Clone for SendStarGiftOffer
Source§fn clone(&self) -> SendStarGiftOffer
fn clone(&self) -> SendStarGiftOffer
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 SendStarGiftOffer
impl Debug for SendStarGiftOffer
Source§impl Identifiable for SendStarGiftOffer
impl Identifiable for SendStarGiftOffer
Source§const CONSTRUCTOR_ID: u32 = 0x8fb86b41
const CONSTRUCTOR_ID: u32 = 0x8fb86b41
The constructor ID as specified in the TL schema.
Source§impl PartialEq for SendStarGiftOffer
impl PartialEq for SendStarGiftOffer
Source§impl RemoteCall for SendStarGiftOffer
impl RemoteCall for SendStarGiftOffer
Source§impl Serializable for SendStarGiftOffer
impl Serializable for SendStarGiftOffer
impl StructuralPartialEq for SendStarGiftOffer
Auto Trait Implementations§
impl Freeze for SendStarGiftOffer
impl RefUnwindSafe for SendStarGiftOffer
impl Send for SendStarGiftOffer
impl Sync for SendStarGiftOffer
impl Unpin for SendStarGiftOffer
impl UnsafeUnpin for SendStarGiftOffer
impl UnwindSafe for SendStarGiftOffer
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