Struct serde_urlencoded::ser::TupleSerializer
[−]
[src]
pub struct TupleSerializer<'output, T: 'output + UrlEncodedTarget> { /* fields omitted */ }
Tuple serializer.
Never instantiated, tuples are not supported at top-level.
Trait Implementations
impl<'output, Target> SerializeTuple for TupleSerializer<'output, Target> where
Target: 'output + UrlEncodedTarget,
[src]
Target: 'output + UrlEncodedTarget,
type Ok = &'output mut UrlEncodedSerializer<Target>
Must match the Ok
type of our Serializer
.
type Error = Error
Must match the Error
type of our Serializer
.
fn serialize_element<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Error>
[src]
&mut self,
value: &T
) -> Result<(), Error>
Serialize a tuple element.
fn end(self) -> Result<Self::Ok, Error>
[src]
Finish serializing a tuple.