pub struct SendService<'a> { /* private fields */ }Implementations§
Source§impl<'a> SendService<'a>
impl<'a> SendService<'a>
pub fn new(client: &'a JupiterClient) -> Self
pub async fn craft_send( &self, req: &CraftSendReq, ) -> Result<CraftSendRes, JupiterError>
pub async fn craft_clawback( &self, req: &CraftClawbackReq, ) -> Result<CraftClawbackRes, JupiterError>
pub async fn pending_invites( &self, req: &PendingInvitesReq, ) -> Result<InvitesPage, JupiterError>
pub async fn invite_history( &self, req: &InviteHistoryReq, ) -> Result<InvitesPage, JupiterError>
Trait Implementations§
Source§impl<'a> Clone for SendService<'a>
impl<'a> Clone for SendService<'a>
Source§fn clone(&self) -> SendService<'a>
fn clone(&self) -> SendService<'a>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl<'a> Freeze for SendService<'a>
impl<'a> !RefUnwindSafe for SendService<'a>
impl<'a> Send for SendService<'a>
impl<'a> Sync for SendService<'a>
impl<'a> Unpin for SendService<'a>
impl<'a> UnsafeUnpin for SendService<'a>
impl<'a> !UnwindSafe for SendService<'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