pub struct GetChartLastRequestResponse {
pub digits: i64,
pub rate_infos: Vec<RateInfoRecord>,
}
Expand description
Structure representing details of rate information
Fields§
§digits: i64
Number of decimal places
rate_infos: Vec<RateInfoRecord>
Array of RATE_INFO_RECORD
Implementations§
Source§impl GetChartLastRequestResponse
impl GetChartLastRequestResponse
Sourcepub fn with_digits(self, value: impl Into<i64>) -> Self
pub fn with_digits(self, value: impl Into<i64>) -> Self
Sets the digits
field of this struct.
Sourcepub fn with_rate_infos(self, value: impl Into<Vec<RateInfoRecord>>) -> Self
pub fn with_rate_infos(self, value: impl Into<Vec<RateInfoRecord>>) -> Self
Sets the rate_infos
field of this struct.
Trait Implementations§
Source§impl Clone for GetChartLastRequestResponse
impl Clone for GetChartLastRequestResponse
Source§fn clone(&self) -> GetChartLastRequestResponse
fn clone(&self) -> GetChartLastRequestResponse
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 GetChartLastRequestResponse
impl Debug for GetChartLastRequestResponse
Source§impl Default for GetChartLastRequestResponse
impl Default for GetChartLastRequestResponse
Source§fn default() -> GetChartLastRequestResponse
fn default() -> GetChartLastRequestResponse
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for GetChartLastRequestResponse
impl<'de> Deserialize<'de> for GetChartLastRequestResponse
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
impl StructuralPartialEq for GetChartLastRequestResponse
Auto Trait Implementations§
impl Freeze for GetChartLastRequestResponse
impl RefUnwindSafe for GetChartLastRequestResponse
impl Send for GetChartLastRequestResponse
impl Sync for GetChartLastRequestResponse
impl Unpin for GetChartLastRequestResponse
impl UnwindSafe for GetChartLastRequestResponse
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