pub struct Regime {
pub regime: Option<String>,
pub confidence: Option<f64>,
pub coin: Option<String>,
pub extra: BTreeMap<String, Value>,
}Expand description
GET /regime — either per-coin or whole-market depending on
query. The engine returns a loose shape with regime, confidence,
and auxiliary fields; we capture the core and flatten the rest.
Fields§
§regime: Option<String>"TREND_LONG" | "TREND_SHORT" | "CHOP" | "VOL_EXPAND" | …
confidence: Option<f64>§coin: Option<String>§extra: BTreeMap<String, Value>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Regime
impl<'de> Deserialize<'de> for Regime
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 Regime
impl RefUnwindSafe for Regime
impl Send for Regime
impl Sync for Regime
impl Unpin for Regime
impl UnsafeUnpin for Regime
impl UnwindSafe for Regime
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