Skip to main content

FullAnalysis

Struct FullAnalysis 

Source
pub struct FullAnalysis {
Show 61 fields pub index: usize, pub candle_time: u64, pub candle_time_display: String, pub open: f64, pub high: f64, pub low: f64, pub close: f64, pub color: String, pub next_color: Option<String>, pub pip_size: f64, pub ema_short_value: Option<f64>, pub ema_short_direction: String, pub ema_short_turn_type: String, pub ema_medium_value: Option<f64>, pub ema_medium_direction: String, pub ema_long_value: Option<f64>, pub ema_long_direction: String, pub ema_above: Option<String>, pub ema_long_above: Option<String>, pub macd_12: Option<f64>, pub macd_23: Option<f64>, pub previous_ema_short_value: Option<f64>, pub previous_ema_medium_value: Option<f64>, pub previous_ema_long_value: Option<f64>, pub previous_macd_12: Option<f64>, pub previous_macd_23: Option<f64>, pub ema_convergence_type: Option<String>, pub ema_long_convergence_type: Option<String>, pub choppy_indicator: Option<f64>, pub adx_value: Option<f64>, pub rsi_value: Option<f64>, pub bb_upper: Option<f64>, pub bb_middle: Option<f64>, pub bb_lower: Option<f64>, pub bb_position: BbPosition, pub atr: Option<f64>, pub is_abnormal_candle: bool, pub is_abnormal_atr: bool, pub upper_wick: f64, pub upper_wick_percent: f64, pub body: f64, pub body_percent: f64, pub lower_wick: f64, pub lower_wick_percent: f64, pub ema_cut_position: Option<String>, pub ema_cut_long_type: Option<String>, pub candles_since_ema_cut: Option<usize>, pub up_con_medium_ema: usize, pub down_con_medium_ema: usize, pub up_con_long_ema: usize, pub down_con_long_ema: usize, pub is_mark: String, pub status_code: Option<u32>, pub series_code: Option<u32>, pub status_desc: String, pub status_desc0: String, pub hint_status: String, pub suggest_color: String, pub win_status: String, pub win_con: i32, pub loss_con: i32,
}

Fields§

§index: usize§candle_time: u64§candle_time_display: String§open: f64§high: f64§low: f64§close: f64§color: String§next_color: Option<String>§pip_size: f64§ema_short_value: Option<f64>§ema_short_direction: String§ema_short_turn_type: String§ema_medium_value: Option<f64>§ema_medium_direction: String§ema_long_value: Option<f64>§ema_long_direction: String§ema_above: Option<String>§ema_long_above: Option<String>§macd_12: Option<f64>§macd_23: Option<f64>§previous_ema_short_value: Option<f64>§previous_ema_medium_value: Option<f64>§previous_ema_long_value: Option<f64>§previous_macd_12: Option<f64>§previous_macd_23: Option<f64>§ema_convergence_type: Option<String>§ema_long_convergence_type: Option<String>§choppy_indicator: Option<f64>§adx_value: Option<f64>§rsi_value: Option<f64>§bb_upper: Option<f64>§bb_middle: Option<f64>§bb_lower: Option<f64>§bb_position: BbPosition§atr: Option<f64>§is_abnormal_candle: bool§is_abnormal_atr: bool§upper_wick: f64§upper_wick_percent: f64§body: f64§body_percent: f64§lower_wick: f64§lower_wick_percent: f64§ema_cut_position: Option<String>§ema_cut_long_type: Option<String>§candles_since_ema_cut: Option<usize>§up_con_medium_ema: usize§down_con_medium_ema: usize§up_con_long_ema: usize§down_con_long_ema: usize§is_mark: String§status_code: Option<u32>§series_code: Option<u32>§status_desc: String§status_desc0: String§hint_status: String§suggest_color: String§win_status: String§win_con: i32§loss_con: i32

Trait Implementations§

Source§

impl Clone for FullAnalysis

Source§

fn clone(&self) -> FullAnalysis

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for FullAnalysis

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.