Struct datamaxi::models::CandleResponse
source · pub struct CandleResponse {
pub data: Vec<CandleDetail>,
pub page: i32,
pub limit: i32,
pub from: String,
pub to: String,
pub sort: String,
}
Expand description
Response containing candle data.
Fields§
§data: Vec<CandleDetail>
A vector containing detailed information about each candle.
page: i32
The current page number in the paginated response.
limit: i32
The maximum number of items per page in the response.
from: String
The starting point of the time frame for the candle data.
to: String
The ending point of the time frame for the candle data.
sort: String
The sorting order for the candle data (e.g., “asc” or “desc”).
Trait Implementations§
source§impl Debug for CandleResponse
impl Debug for CandleResponse
source§impl<'de> Deserialize<'de> for CandleResponse
impl<'de> Deserialize<'de> for CandleResponse
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
Auto Trait Implementations§
impl Freeze for CandleResponse
impl RefUnwindSafe for CandleResponse
impl Send for CandleResponse
impl Sync for CandleResponse
impl Unpin for CandleResponse
impl UnwindSafe for CandleResponse
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