/// Parses a node string in to a `Node`.
///
/// A --node flag and node string looks like this:
///
/// ```text
/// --node field:value,field:value,array_field:[value,value],...
/// ```
///
/// The field names must match the field names in `NodeConfiguration`, with
/// the associated types.
///
/// This is because the text is actually the JSON5 representation of the
/// value, without the opening/closing `{` and `}`. This means that the
/// field names do not need to be quoted
Parses a node string in to a `Node`.
A --node flag and node string looks like this.



The field names must match the field names in `NodeConfiguration`, with
the associated types.

This is because the text is actually the JSON5 representation of the
value, without the opening/closing `{` and `}`. This means that the
field names do not need to be quoted
Parses a node string in to a ` Node ` . A -- node flag and node string looks like this . The field names must match the field names in ` NodeConfiguration ` with the associated types . This is because the text is actually the JSON5 representation of the value without the opening / closing ` { ` and ` } ` . This means that the field names do not need to be quoted
fn from_str(s: &str) -> Result<Self, Self::Err> {
        let flag: NodeFlag = json5::from_str(&format!("{{ {} }}", s)).map_err(|source| {
            Self::Err::Json5ParseFailed {
                source,
                flag: s.to_string(),
            }
        })?;
        let node = Node::try_from(flag)?;
        Ok(node)
    }
fn from_str ( s : & str ) -> Result < Self , Self :: Err > { let flag : NodeFlag = json5 :: from_str ( & format ! ( " " s ) ) . map_err ( | source | { Self :: Err :: Json5ParseFailed { source , flag : s . to_string ( ) , } } ) ? ; let node = Node :: try_from ( flag ) ? ; Ok ( node ) }
Parses a node string in to a `Node`.
Parses a node string in to a ` Node ` .
s
&str