pub struct Helius { /* private fields */ }Implementations§
Source§impl Helius
impl Helius
pub fn new(client: Client, apikey: &str) -> Helius
pub fn get_url(&self, solana_net: &str) -> Result<&str, Error>
pub async fn get_priority_fee_estimate( &self, solana_net: &str, req: GetPriorityFeeEstimateRequest, ) -> Result<GetPriorityFeeEstimateResponse, Error>
pub async fn get_assets_by_group( &self, solana_net: &str, collection: &str, ) -> Result<Vec<Value>, Error>
pub async fn get_asset( &self, solana_net: &str, mint_account: &str, ) -> Result<Value, Error>
Trait Implementations§
Auto Trait Implementations§
impl !Freeze for Helius
impl !RefUnwindSafe for Helius
impl Send for Helius
impl Sync for Helius
impl Unpin for Helius
impl !UnwindSafe for Helius
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
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more