pub struct IndicesResponse {
pub indices: Vec<IndexItem>,
pub pagination_key: Option<String>,
}
Expand description
Indices (OHLC) response.
See: API Reference
Fields§
§indices: Vec<IndexItem>
List of indices data
pagination_key: Option<String>
Pagination key for fetching next set of data
Trait Implementations§
Source§impl Clone for IndicesResponse
impl Clone for IndicesResponse
Source§fn clone(&self) -> IndicesResponse
fn clone(&self) -> IndicesResponse
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 moreSource§impl Debug for IndicesResponse
impl Debug for IndicesResponse
Source§impl<'de> Deserialize<'de> for IndicesResponse
impl<'de> Deserialize<'de> for IndicesResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl HasPaginationKey for IndicesResponse
impl HasPaginationKey for IndicesResponse
Source§fn get_pagination_key(&self) -> Option<&str>
fn get_pagination_key(&self) -> Option<&str>
Get the pagination key.
Source§impl JQuantsBuilder<IndicesResponse> for IndicesBuilder
impl JQuantsBuilder<IndicesResponse> for IndicesBuilder
Source§async fn send(self) -> Result<IndicesResponse, JQuantsError>
async fn send(self) -> Result<IndicesResponse, JQuantsError>
Send the request.
Source§async fn send_ref(&self) -> Result<IndicesResponse, JQuantsError>
async fn send_ref(&self) -> Result<IndicesResponse, JQuantsError>
Send the request without consuming ownership.
Use only when reusing the builder.
Source§impl MergePage for IndicesResponse
impl MergePage for IndicesResponse
Source§fn merge_page(
page: Result<Vec<Self>, JQuantsError>,
) -> Result<Self, JQuantsError>
fn merge_page( page: Result<Vec<Self>, JQuantsError>, ) -> Result<Self, JQuantsError>
Merge the pages.
Source§impl Paginatable<IndicesResponse> for IndicesBuilder
impl Paginatable<IndicesResponse> for IndicesBuilder
Source§fn pagination_key(self, pagination_key: impl Into<String>) -> Self
fn pagination_key(self, pagination_key: impl Into<String>) -> Self
Set the pagination key.
Source§fn fetch_pages_stream(self) -> impl Stream<Item = Result<R, JQuantsError>>
fn fetch_pages_stream(self) -> impl Stream<Item = Result<R, JQuantsError>>
Fetch the pages stream.
Source§fn fetch_all_and_merge(self) -> impl Future<Output = Result<R, JQuantsError>>
fn fetch_all_and_merge(self) -> impl Future<Output = Result<R, JQuantsError>>
Fetch all pages and merge them.
Source§impl PartialEq for IndicesResponse
impl PartialEq for IndicesResponse
impl StructuralPartialEq for IndicesResponse
Auto Trait Implementations§
impl Freeze for IndicesResponse
impl RefUnwindSafe for IndicesResponse
impl Send for IndicesResponse
impl Sync for IndicesResponse
impl Unpin for IndicesResponse
impl UnwindSafe for IndicesResponse
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