#[repr(i32)]pub enum KlineShape {
Type = 6_200,
RiseProb = 6_201,
AfterSelectedChg = 6_202,
SelectedTime = 6_203,
SupportLevel = 6_204,
PressureLevel = 6_205,
}Variants§
Type = 6_200
K线形态 (单位:1 倍率:1)
RiseProb = 6_201
上涨概率/下跌概率 (单位:0.001% 倍率:100000)
AfterSelectedChg = 6_202
入选后涨跌幅 (单位:0.001% 倍率:100000)
SelectedTime = 6_203
入选时间 (单位:1 倍率:1)
SupportLevel = 6_204
支撑位 (单位:0.000000001元,倍率:10e9)
PressureLevel = 6_205
压力位 (单位:0.000000001元,倍率:10e9)
Implementations§
Source§impl KlineShape
impl KlineShape
Source§impl KlineShape
impl KlineShape
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for KlineShape
impl Clone for KlineShape
Source§fn clone(&self) -> KlineShape
fn clone(&self) -> KlineShape
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 KlineShape
impl Debug for KlineShape
Source§impl Default for KlineShape
impl Default for KlineShape
Source§fn default() -> KlineShape
fn default() -> KlineShape
Returns the “default value” for a type. Read more
Source§impl From<KlineShape> for i32
impl From<KlineShape> for i32
Source§fn from(value: KlineShape) -> i32
fn from(value: KlineShape) -> i32
Converts to this type from the input type.
Source§impl Hash for KlineShape
impl Hash for KlineShape
Source§impl Ord for KlineShape
impl Ord for KlineShape
Source§fn cmp(&self, other: &KlineShape) -> Ordering
fn cmp(&self, other: &KlineShape) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for KlineShape
impl PartialEq for KlineShape
Source§impl PartialOrd for KlineShape
impl PartialOrd for KlineShape
Source§impl TryFrom<i32> for KlineShape
impl TryFrom<i32> for KlineShape
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<KlineShape, UnknownEnumValue>
fn try_from(value: i32) -> Result<KlineShape, UnknownEnumValue>
Performs the conversion.
impl Copy for KlineShape
impl Eq for KlineShape
impl StructuralPartialEq for KlineShape
Auto Trait Implementations§
impl Freeze for KlineShape
impl RefUnwindSafe for KlineShape
impl Send for KlineShape
impl Sync for KlineShape
impl Unpin for KlineShape
impl UnsafeUnpin for KlineShape
impl UnwindSafe for KlineShape
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.