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

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

A tuple visitor.

Methods

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

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

Construct a new, empty TupleVisitor.

Trait Implementations

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

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

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