pub enum IndicatorInput {
String(Ustr),
IndicatorInput(InputValue),
}Expand description
An input value for a Pine Script indicator.
Can be either a plain string or a structured InputValue with value,
format, and type fields.
Variants§
String(Ustr)
IndicatorInput(InputValue)
Trait Implementations§
Source§impl Clone for IndicatorInput
impl Clone for IndicatorInput
Source§impl Debug for IndicatorInput
impl Debug for IndicatorInput
Source§impl<'de> Deserialize<'de> for IndicatorInput
impl<'de> Deserialize<'de> for IndicatorInput
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 IndicatorInput
impl PartialEq for IndicatorInput
Source§impl Serialize for IndicatorInput
impl Serialize for IndicatorInput
impl StructuralPartialEq for IndicatorInput
Auto Trait Implementations§
impl Freeze for IndicatorInput
impl RefUnwindSafe for IndicatorInput
impl Send for IndicatorInput
impl Sync for IndicatorInput
impl Unpin for IndicatorInput
impl UnsafeUnpin for IndicatorInput
impl UnwindSafe for IndicatorInput
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