Struct serde::ser::impls::TupleVisitor5 [] [src]

pub struct TupleVisitor5<'a, T0: 'a, T1: 'a, T2: 'a, T3: 'a, T4: 'a> {
    // some fields omitted
}

A tuple visitor.

Methods

impl<'a, T0: 'a, T1: 'a, T2: 'a, T3: 'a, T4: 'a> TupleVisitor5<'a, T0, T1, T2, T3, T4>

fn new(tuple: &'a (T0, T1, T2, T3, T4)) -> TupleVisitor5<'a, T0, T1, T2, T3, T4>

Construct a new, empty TupleVisitor.

Trait Implementations

impl<'a, T0, T1, T2, T3, T4> SeqVisitor for TupleVisitor5<'a, T0, T1, T2, T3, T4> where T0: Serialize, T1: Serialize, T2: Serialize, T3: Serialize, T4: Serialize

fn visit<S>(&mut self, serializer: &mut S) -> Result<Option<()>, S::Error> where S: Serializer

fn len(&self) -> Option<usize>