pub struct GetUserGifts { /* private fields */ }Expand description
Builder for the getUserGifts method.
Returns the gifts owned and hosted by a user.
Implementations§
Source§impl GetUserGifts
impl GetUserGifts
Sourcepub fn exclude_unlimited(self, v: bool) -> Self
pub fn exclude_unlimited(self, v: bool) -> Self
Excludes unlimited regular gifts.
Sourcepub fn exclude_limited_upgradable(self, v: bool) -> Self
pub fn exclude_limited_upgradable(self, v: bool) -> Self
Excludes limited gifts that can be upgraded to unique.
Sourcepub fn exclude_limited_non_upgradable(self, v: bool) -> Self
pub fn exclude_limited_non_upgradable(self, v: bool) -> Self
Excludes limited gifts that cannot be upgraded to unique.
Sourcepub fn exclude_unique(self, v: bool) -> Self
pub fn exclude_unique(self, v: bool) -> Self
Excludes unique gifts.
Sourcepub fn exclude_from_blockchain(self, v: bool) -> Self
pub fn exclude_from_blockchain(self, v: bool) -> Self
Excludes gifts assigned from the TON blockchain.
Sourcepub fn sort_by_price(self, v: bool) -> Self
pub fn sort_by_price(self, v: bool) -> Self
Sorts results by price instead of send date.
Trait Implementations§
Source§impl IntoFuture for GetUserGifts
impl IntoFuture for GetUserGifts
Source§type Output = Result<OwnedGifts, Error>
type Output = Result<OwnedGifts, Error>
The output that the future will produce on completion.
Source§type IntoFuture = Pin<Box<dyn Future<Output = <GetUserGifts as IntoFuture>::Output> + Send>>
type IntoFuture = Pin<Box<dyn Future<Output = <GetUserGifts as IntoFuture>::Output> + Send>>
Which kind of future are we turning this into?
Source§fn into_future(self) -> Self::IntoFuture
fn into_future(self) -> Self::IntoFuture
Creates a future from a value. Read more
Auto Trait Implementations§
impl !RefUnwindSafe for GetUserGifts
impl !UnwindSafe for GetUserGifts
impl Freeze for GetUserGifts
impl Send for GetUserGifts
impl Sync for GetUserGifts
impl Unpin for GetUserGifts
impl UnsafeUnpin for GetUserGifts
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