Struct ruma::serde::urlencoded::ser::TupleSerializer [−][src]
pub struct TupleSerializer<'input, 'output, Target> where
Target: Target, { /* fields omitted */ }
Expand description
Tuple serializer.
Mostly used for arrays.
Trait Implementations
impl<'input, 'output, Target> SerializeTuple for TupleSerializer<'input, 'output, Target> where
Target: Target,
impl<'input, 'output, Target> SerializeTuple for TupleSerializer<'input, 'output, Target> where
Target: Target,
type Ok = &'output mut Serializer<'input, Target>
type Ok = &'output mut Serializer<'input, Target>
Must match the Ok
type of our Serializer
.
Serialize a tuple element.
pub fn end(
self
) -> Result<<TupleSerializer<'input, 'output, Target> as SerializeTuple>::Ok, Error>
pub fn end(
self
) -> Result<<TupleSerializer<'input, 'output, Target> as SerializeTuple>::Ok, Error>
Finish serializing a tuple.
Auto Trait Implementations
impl<'input, 'output, Target> !RefUnwindSafe for TupleSerializer<'input, 'output, Target>
impl<'input, 'output, Target> !Send for TupleSerializer<'input, 'output, Target>
impl<'input, 'output, Target> !Sync for TupleSerializer<'input, 'output, Target>
impl<'input, 'output, Target> Unpin for TupleSerializer<'input, 'output, Target> where
'input: 'output,
impl<'input, 'output, Target> !UnwindSafe for TupleSerializer<'input, 'output, Target>
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more