Type Alias sfv::List

source ·
pub type List = Vec<ListEntry>;
Expand description

Represents List type structured field value.

Aliased Type§

struct List { /* private fields */ }

Trait Implementations§

source§

impl ParseMore for List

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 List

source§

fn parse(input_chars: &mut Peekable<Chars<'_>>) -> Result<List, &'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 List

source§

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

Serializes structured field value into String. Read more