pub struct GetPremiumGiftCodeOptions {
pub boost_peer: Option<InputPeer>,
}Expand description
payments.getPremiumGiftCodeOptions
Generated from:
payments.getPremiumGiftCodeOptions#2757ba54 flags:# boost_peer:flags.0?InputPeer = Vector<PremiumGiftCodeOption>Fields§
§boost_peer: Option<InputPeer>Trait Implementations§
Source§impl Clone for GetPremiumGiftCodeOptions
impl Clone for GetPremiumGiftCodeOptions
Source§fn clone(&self) -> GetPremiumGiftCodeOptions
fn clone(&self) -> GetPremiumGiftCodeOptions
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 GetPremiumGiftCodeOptions
impl Debug for GetPremiumGiftCodeOptions
Source§impl Identifiable for GetPremiumGiftCodeOptions
impl Identifiable for GetPremiumGiftCodeOptions
Source§const CONSTRUCTOR_ID: u32 = 0x2757ba54
const CONSTRUCTOR_ID: u32 = 0x2757ba54
The constructor ID as specified in the TL schema.
Source§impl RemoteCall for GetPremiumGiftCodeOptions
impl RemoteCall for GetPremiumGiftCodeOptions
Source§type Return = Vec<PremiumGiftCodeOption>
type Return = Vec<PremiumGiftCodeOption>
The deserialized response type.
impl StructuralPartialEq for GetPremiumGiftCodeOptions
Auto Trait Implementations§
impl Freeze for GetPremiumGiftCodeOptions
impl RefUnwindSafe for GetPremiumGiftCodeOptions
impl Send for GetPremiumGiftCodeOptions
impl Sync for GetPremiumGiftCodeOptions
impl Unpin for GetPremiumGiftCodeOptions
impl UnsafeUnpin for GetPremiumGiftCodeOptions
impl UnwindSafe for GetPremiumGiftCodeOptions
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