pub struct TechnicalIndicatorsResponseMacdParameter {
pub default: Option<i64>,
pub max_range: Option<i64>,
pub min_range: Option<i64>,
pub range: Option<Vec<String>>,
pub type: Option<String>,
}Expand description
TechnicalIndicatorsResponseMacdParameter : Input parameter name. Example values: series_type, fast_period, slow_period, time_period, signal_period
Fields§
§default: Option<i64>Specifies parameter value set by default
max_range: Option<i64>If the parameter has upper bound in order to ensure correct calculation
min_range: Option<i64>If the parameter has lower bound in order to ensure correct calculation
range: Option<Vec<String>>An array of available parameter values
type: Option<String>Type of parameter might be string, int, float or array
Implementations§
Source§impl TechnicalIndicatorsResponseMacdParameter
impl TechnicalIndicatorsResponseMacdParameter
Sourcepub fn new() -> TechnicalIndicatorsResponseMacdParameter
pub fn new() -> TechnicalIndicatorsResponseMacdParameter
Input parameter name. Example values: series_type, fast_period, slow_period, time_period, signal_period
Trait Implementations§
Source§impl Clone for TechnicalIndicatorsResponseMacdParameter
impl Clone for TechnicalIndicatorsResponseMacdParameter
Source§fn clone(&self) -> TechnicalIndicatorsResponseMacdParameter
fn clone(&self) -> TechnicalIndicatorsResponseMacdParameter
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 Default for TechnicalIndicatorsResponseMacdParameter
impl Default for TechnicalIndicatorsResponseMacdParameter
Source§fn default() -> TechnicalIndicatorsResponseMacdParameter
fn default() -> TechnicalIndicatorsResponseMacdParameter
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for TechnicalIndicatorsResponseMacdParameter
impl<'de> Deserialize<'de> for TechnicalIndicatorsResponseMacdParameter
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 PartialEq for TechnicalIndicatorsResponseMacdParameter
impl PartialEq for TechnicalIndicatorsResponseMacdParameter
Source§fn eq(&self, other: &TechnicalIndicatorsResponseMacdParameter) -> bool
fn eq(&self, other: &TechnicalIndicatorsResponseMacdParameter) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TechnicalIndicatorsResponseMacdParameter
Auto Trait Implementations§
impl Freeze for TechnicalIndicatorsResponseMacdParameter
impl RefUnwindSafe for TechnicalIndicatorsResponseMacdParameter
impl Send for TechnicalIndicatorsResponseMacdParameter
impl Sync for TechnicalIndicatorsResponseMacdParameter
impl Unpin for TechnicalIndicatorsResponseMacdParameter
impl UnwindSafe for TechnicalIndicatorsResponseMacdParameter
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