pub struct GetClaims<'a> { /* private fields */ }Expand description
Builder for Client::get_claims
Implementations§
Source§impl<'a> GetClaims<'a>
impl<'a> GetClaims<'a>
pub fn new(client: &'a Client) -> Self
pub fn id<V>(self, value: V) -> Self
pub fn cursor<V>(self, value: V) -> Self
pub fn direction<V>(self, value: V) -> Self
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
Sourcepub async fn send(self) -> Result<ResponseValue<RedPacketClaimsPage>, Error<()>>
pub async fn send(self) -> Result<ResponseValue<RedPacketClaimsPage>, Error<()>>
Sends a GET request to /v1/redpacket/{id}/claims
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for GetClaims<'a>
impl<'a> !RefUnwindSafe for GetClaims<'a>
impl<'a> Send for GetClaims<'a>
impl<'a> Sync for GetClaims<'a>
impl<'a> Unpin for GetClaims<'a>
impl<'a> !UnwindSafe for GetClaims<'a>
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