pub struct List;Expand description
The representation of a GET request to the /v2/positions endpoint.
Trait Implementations§
Source§impl Endpoint for List
impl Endpoint for List
Source§type Output = Vec<Position>
type Output = Vec<Position>
The type of data being returned in the response from this
endpoint.
Source§type ConversionError = ConversionError
type ConversionError = ConversionError
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 List
Auto Trait Implementations§
impl Freeze for List
impl RefUnwindSafe for List
impl Send for List
impl Sync for List
impl Unpin for List
impl UnwindSafe for List
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