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

pub struct TupleVisitor1<'a, T0: 'a> {
    // some fields omitted
}

A tuple visitor.

Methods

impl<'a, T0: 'a> TupleVisitor1<'a, T0>

fn new(tuple: &'a (T0,)) -> TupleVisitor1<'a, T0>

Construct a new, empty TupleVisitor.

Trait Implementations

impl<'a, T0> SeqVisitor for TupleVisitor1<'a, T0> where T0: Serialize

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

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