pub struct GetDexscrLinkUpdates<'a> { /* private fields */ }Expand description
Builder for Client::get_dexscr_link_updates
Implementations§
Source§impl<'a> GetDexscrLinkUpdates<'a>
impl<'a> GetDexscrLinkUpdates<'a>
pub fn new(client: &'a Client) -> Self
pub fn chain<V>(self, value: V) -> Selfwhere
V: TryInto<ChainSymbol>,
pub fn limit<V>(self, value: V) -> Selfwhere
V: TryInto<NonZeroU64>,
Sourcepub async fn send(
self,
) -> Result<ResponseValue<Vec<DexscrLinkUpdate>>, Error<()>>
pub async fn send( self, ) -> Result<ResponseValue<Vec<DexscrLinkUpdate>>, Error<()>>
Sends a GET request to /v2/dexscr/{chain}/link-updates
Trait Implementations§
Source§impl<'a> Clone for GetDexscrLinkUpdates<'a>
impl<'a> Clone for GetDexscrLinkUpdates<'a>
Source§fn clone(&self) -> GetDexscrLinkUpdates<'a>
fn clone(&self) -> GetDexscrLinkUpdates<'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> !RefUnwindSafe for GetDexscrLinkUpdates<'a>
impl<'a> !UnwindSafe for GetDexscrLinkUpdates<'a>
impl<'a> Freeze for GetDexscrLinkUpdates<'a>
impl<'a> Send for GetDexscrLinkUpdates<'a>
impl<'a> Sync for GetDexscrLinkUpdates<'a>
impl<'a> Unpin for GetDexscrLinkUpdates<'a>
impl<'a> UnsafeUnpin for GetDexscrLinkUpdates<'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