pub struct GetSolanaAccount<'a> { /* private fields */ }
Expand description
Builder for [Client::get_solana_account
]
[`Client::get_solana_account`]: super::Client::get_solana_account
Implementations§
Source§impl<'a> GetSolanaAccount<'a>
impl<'a> GetSolanaAccount<'a>
pub fn new(client: &'a Client) -> Self
pub fn address<V>(self, value: V) -> Selfwhere
V: TryInto<GetSolanaAccountAddress>,
Sourcepub async fn send(self) -> Result<ResponseValue<SolanaAccount>, Error<Error>>
pub async fn send(self) -> Result<ResponseValue<SolanaAccount>, Error<Error>>
Sends a GET
request to /v2/solana/accounts/{address}
Trait Implementations§
Source§impl<'a> Clone for GetSolanaAccount<'a>
impl<'a> Clone for GetSolanaAccount<'a>
Source§fn clone(&self) -> GetSolanaAccount<'a>
fn clone(&self) -> GetSolanaAccount<'a>
Returns a duplicate of the value. Read more
1.0.0 · 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 GetSolanaAccount<'a>
impl<'a> !RefUnwindSafe for GetSolanaAccount<'a>
impl<'a> Send for GetSolanaAccount<'a>
impl<'a> Sync for GetSolanaAccount<'a>
impl<'a> Unpin for GetSolanaAccount<'a>
impl<'a> !UnwindSafe for GetSolanaAccount<'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