Type Alias sfv::Dictionary

source ·
pub type Dictionary = IndexMap<String, ListEntry>;
Expand description

Represents Dictionary type structured field value.

Aliased Type§

struct Dictionary { /* private fields */ }

Trait Implementations§

source§

impl ParseMore for Dictionary

source§

fn parse_more(&mut self, input_bytes: &[u8]) -> Result<(), &'static str>

If structured field value is split across lines, parses and merges next line into a single structured field value. Read more
source§

impl ParseValue for Dictionary

source§

fn parse( input_chars: &mut Peekable<Chars<'_>> ) -> Result<Dictionary, &'static str>

This method should not be used for parsing input into structured field value. Use Parser::parse_item, Parser::parse_list or Parsers::parse_dictionary for that.
source§

impl SerializeValue for Dictionary

source§

fn serialize_value(&self) -> Result<String, &'static str>

Serializes structured field value into String. Read more