Type Alias List

Source
pub type List = Vec<ListEntry>;
Expand description

A list-type structured field value.

Aliased Type§

struct List { /* private fields */ }

Trait Implementations§

Source§

impl<'de> EntryVisitor<'de> for &mut List

Source§

fn inner_list(self) -> Result<impl InnerListVisitor<'de>, Self::Error>

Called before an inner list has been parsed. Read more
Source§

impl<'de> ItemVisitor<'de> for &mut List

Source§

type Error = Infallible

The error type that can be returned if some error occurs during parsing.
Source§

fn bare_item( self, bare_item: BareItemFromInput<'de>, ) -> Result<impl ParameterVisitor<'de>, Self::Error>

Called after a bare item has been parsed. Read more
Source§

impl<'de> ListVisitor<'de> for List

Source§

type Error = Infallible

The error type that can be returned if some error occurs during parsing.
Source§

fn entry(&mut self) -> Result<impl EntryVisitor<'de>, Self::Error>

Called before a list entry has been parsed. Read more
Source§

impl SerializeValue for List

Source§

type Result = Option<String>

The result of serializing the value into a string. Read more
Source§

fn serialize_value(&self) -> Option<String>

Serializes a structured field value into a string. Read more