pub struct PostGetCompressedAccountsByOwnerV2<'a> { /* private fields */ }Expand description
Builder for Client::post_get_compressed_accounts_by_owner_v2
Implementations§
Source§impl<'a> PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> PostGetCompressedAccountsByOwnerV2<'a>
pub fn new(client: &'a Client) -> Self
pub fn body<V>(self, value: V) -> Selfwhere
V: TryInto<PostGetCompressedAccountsByOwnerV2Body>,
<V as TryInto<PostGetCompressedAccountsByOwnerV2Body>>::Error: Display,
pub fn body_map<F>(self, f: F) -> Self
Sourcepub async fn send(
self,
) -> Result<ResponseValue<PostGetCompressedAccountsByOwnerV2Response>, Error<PostGetCompressedAccountsByOwnerV2Response>>
pub async fn send( self, ) -> Result<ResponseValue<PostGetCompressedAccountsByOwnerV2Response>, Error<PostGetCompressedAccountsByOwnerV2Response>>
Sends a POST request to /getCompressedAccountsByOwnerV2
Trait Implementations§
Source§impl<'a> Clone for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> Clone for PostGetCompressedAccountsByOwnerV2<'a>
Source§fn clone(&self) -> PostGetCompressedAccountsByOwnerV2<'a>
fn clone(&self) -> PostGetCompressedAccountsByOwnerV2<'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 PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> !RefUnwindSafe for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> Send for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> Sync for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> Unpin for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> UnsafeUnpin for PostGetCompressedAccountsByOwnerV2<'a>
impl<'a> !UnwindSafe for PostGetCompressedAccountsByOwnerV2<'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