pub struct UpdateStarGiftCollection {
pub peer: InputPeer,
pub collection_id: i32,
pub title: Option<String>,
pub delete_stargift: Option<Vec<InputSavedStarGift>>,
pub add_stargift: Option<Vec<InputSavedStarGift>>,
pub order: Option<Vec<InputSavedStarGift>>,
}Expand description
payments.updateStarGiftCollection
Generated from:
payments.updateStarGiftCollection#4fddbee7 flags:# peer:InputPeer collection_id:int title:flags.0?string delete_stargift:flags.1?Vector<InputSavedStarGift> add_stargift:flags.2?Vector<InputSavedStarGift> order:flags.3?Vector<InputSavedStarGift> = StarGiftCollectionFields§
§peer: InputPeer§collection_id: i32§title: Option<String>§delete_stargift: Option<Vec<InputSavedStarGift>>§add_stargift: Option<Vec<InputSavedStarGift>>§order: Option<Vec<InputSavedStarGift>>Trait Implementations§
Source§impl Clone for UpdateStarGiftCollection
impl Clone for UpdateStarGiftCollection
Source§fn clone(&self) -> UpdateStarGiftCollection
fn clone(&self) -> UpdateStarGiftCollection
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 UpdateStarGiftCollection
impl Debug for UpdateStarGiftCollection
Source§impl Identifiable for UpdateStarGiftCollection
impl Identifiable for UpdateStarGiftCollection
Source§const CONSTRUCTOR_ID: u32 = 0x4fddbee7
const CONSTRUCTOR_ID: u32 = 0x4fddbee7
The constructor ID as specified in the TL schema.
Source§impl PartialEq for UpdateStarGiftCollection
impl PartialEq for UpdateStarGiftCollection
Source§impl RemoteCall for UpdateStarGiftCollection
impl RemoteCall for UpdateStarGiftCollection
Source§type Return = StarGiftCollection
type Return = StarGiftCollection
The deserialized response type.
impl StructuralPartialEq for UpdateStarGiftCollection
Auto Trait Implementations§
impl Freeze for UpdateStarGiftCollection
impl RefUnwindSafe for UpdateStarGiftCollection
impl Send for UpdateStarGiftCollection
impl Sync for UpdateStarGiftCollection
impl Unpin for UpdateStarGiftCollection
impl UnsafeUnpin for UpdateStarGiftCollection
impl UnwindSafe for UpdateStarGiftCollection
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