Struct serde_urlencoded::ser::StructVariantSerializer
[−]
[src]
pub struct StructVariantSerializer<'output, T: 'output + UrlEncodedTarget> { /* fields omitted */ }Struct variant serializer.
Never instantiated, struct variants are not supported.
Trait Implementations
impl<'output, Target> SerializeStructVariant for StructVariantSerializer<'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_field<T: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Error>[src]
&mut self,
key: &'static str,
value: &T
) -> Result<(), Error>
Serialize a struct variant field.
fn end(self) -> Result<Self::Ok, Error>[src]
Finish serializing a struct variant.