pub struct Get;
Expand description
The representation of a GET request to the
/v2/reference/tickers/<ticker>
endpoint.
Trait Implementations§
Source§impl Endpoint for Get
impl Endpoint for Get
Source§type Output = Response<TickerResp>
type Output = Response<TickerResp>
The type of data being returned in the response from this
endpoint.
Source§type ConversionError = Error
type ConversionError = Error
An error emitted when converting between formats.
Source§fn parse(body: &[u8]) -> Result<Self::Output, Self::ConversionError>
fn parse(body: &[u8]) -> Result<Self::Output, Self::ConversionError>
Parse the body into the final result.
Source§fn query(
input: &Self::Input,
) -> Result<Option<Cow<'static, str>>, Self::ConversionError>
fn query( input: &Self::Input, ) -> Result<Option<Cow<'static, str>>, Self::ConversionError>
Inquire the query the request should use. Read more
impl Copy for Get
Auto Trait Implementations§
impl Freeze for Get
impl RefUnwindSafe for Get
impl Send for Get
impl Sync for Get
impl Unpin for Get
impl UnwindSafe for Get
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