Struct serde_urlencoded::ser::StructSerializer
[−]
[src]
pub struct StructSerializer<'output, Target: 'output + UrlEncodedTarget> { /* fields omitted */ }
Struct serializer.
Trait Implementations
impl<'output, Target> SerializeStruct for StructSerializer<'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 field.
fn end(self) -> Result<Self::Ok, Error>
[src]
Finish serializing a struct.