Enum cli::types::ScriptValue
source ·
[−]pub enum ScriptValue {
SingleLine(String),
Text(Vec<String>),
File(FileScriptValue),
Sections(ScriptSections),
}
Expand description
Script value (text, file name, …)
Variants
SingleLine(String)
Tuple Fields
0: String
The script text as single line
Text(Vec<String>)
The script text lines
File(FileScriptValue)
Tuple Fields
Script file name
Sections(ScriptSections)
Tuple Fields
Script content split to multiple parts to enable fine tuned extension
Trait Implementations
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 RefUnwindSafe for ScriptValue
impl Send for ScriptValue
impl Sync for ScriptValue
impl Unpin for ScriptValue
impl UnwindSafe for ScriptValue
Blanket Implementations
Mutably borrows from an owned value. Read more