pub struct UltraService<'a> { /* private fields */ }Implementations§
Source§impl<'a> UltraService<'a>
impl<'a> UltraService<'a>
pub fn new(client: &'a JupiterClient) -> Self
pub async fn get_order(&self, req: &OrderReq) -> Result<OrderRes, JupiterError>
pub async fn execute( &self, req: &TransactionRequest, ) -> Result<ExecuteRes, JupiterError>
Sourcepub async fn get_holdings(
&self,
address: String,
) -> Result<GetHoldingsRes, JupiterError>
pub async fn get_holdings( &self, address: String, ) -> Result<GetHoldingsRes, JupiterError>
Request for detailed token holdings of an account including token account information
Trait Implementations§
Source§impl<'a> Clone for UltraService<'a>
impl<'a> Clone for UltraService<'a>
Source§fn clone(&self) -> UltraService<'a>
fn clone(&self) -> UltraService<'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 UltraService<'a>
impl<'a> !RefUnwindSafe for UltraService<'a>
impl<'a> Send for UltraService<'a>
impl<'a> Sync for UltraService<'a>
impl<'a> Unpin for UltraService<'a>
impl<'a> UnsafeUnpin for UltraService<'a>
impl<'a> !UnwindSafe for UltraService<'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