#[repr(i32)]pub enum KlinePattern {
Show 20 variants
TripleBottom = 7_101,
HornBottom = 7_102,
DoubleBottom = 7_103,
HeadAndSholdersBottom = 7_104,
BullishSymmetricalTriangle = 7_105,
BullishFlag = 7_106,
BullishContinuousDiamond = 7_107,
ArcBottom = 7_108,
BullishSustainedWedge = 7_109,
BullishContinuousTriangle = 7_110,
HornTop = 7_201,
BearishSustainedWedge = 7_202,
BearishContinuousTriangle = 7_203,
DoubleTop = 7_204,
BearishSymmetricalTriangle = 7_205,
BearishFlag = 7_206,
HeadAndShouldersTop = 7_207,
TripleTop = 7_208,
BearishContinuousDiamond = 7_209,
ArcTop = 7_210,
}Expand description
K线形态
Variants§
TripleBottom = 7_101
三重底
HornBottom = 7_102
喇叭底
DoubleBottom = 7_103
W型底
HeadAndSholdersBottom = 7_104
头肩底
BullishSymmetricalTriangle = 7_105
看涨对称三角形
BullishFlag = 7_106
看涨旗形
BullishContinuousDiamond = 7_107
看涨持续菱形
ArcBottom = 7_108
圆弧底
BullishSustainedWedge = 7_109
看涨持续楔形
BullishContinuousTriangle = 7_110
看涨持续三角形
HornTop = 7_201
喇叭顶
BearishSustainedWedge = 7_202
看跌持续楔形
BearishContinuousTriangle = 7_203
看跌持续三角形
DoubleTop = 7_204
M型顶
BearishSymmetricalTriangle = 7_205
看跌对称三角形
BearishFlag = 7_206
看跌旗形
HeadAndShouldersTop = 7_207
头肩顶
TripleTop = 7_208
三重顶
BearishContinuousDiamond = 7_209
看跌持续菱形
ArcTop = 7_210
圆弧顶
Implementations§
Source§impl KlinePattern
impl KlinePattern
Source§impl KlinePattern
impl KlinePattern
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 KlinePattern
impl Clone for KlinePattern
Source§fn clone(&self) -> KlinePattern
fn clone(&self) -> KlinePattern
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 KlinePattern
impl Debug for KlinePattern
Source§impl Default for KlinePattern
impl Default for KlinePattern
Source§fn default() -> KlinePattern
fn default() -> KlinePattern
Returns the “default value” for a type. Read more
Source§impl From<KlinePattern> for i32
impl From<KlinePattern> for i32
Source§fn from(value: KlinePattern) -> i32
fn from(value: KlinePattern) -> i32
Converts to this type from the input type.
Source§impl Hash for KlinePattern
impl Hash for KlinePattern
Source§impl Ord for KlinePattern
impl Ord for KlinePattern
Source§fn cmp(&self, other: &KlinePattern) -> Ordering
fn cmp(&self, other: &KlinePattern) -> 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 KlinePattern
impl PartialEq for KlinePattern
Source§impl PartialOrd for KlinePattern
impl PartialOrd for KlinePattern
Source§impl TryFrom<i32> for KlinePattern
impl TryFrom<i32> for KlinePattern
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
The type returned in the event of a conversion error.
Source§fn try_from(value: i32) -> Result<KlinePattern, UnknownEnumValue>
fn try_from(value: i32) -> Result<KlinePattern, UnknownEnumValue>
Performs the conversion.
impl Copy for KlinePattern
impl Eq for KlinePattern
impl StructuralPartialEq for KlinePattern
Auto Trait Implementations§
impl Freeze for KlinePattern
impl RefUnwindSafe for KlinePattern
impl Send for KlinePattern
impl Sync for KlinePattern
impl Unpin for KlinePattern
impl UnsafeUnpin for KlinePattern
impl UnwindSafe for KlinePattern
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.