Struct serde_urlencoded::ser::MapSerializer
[−]
[src]
pub struct MapSerializer<'output, Target: 'output + UrlEncodedTarget> { /* fields omitted */ }
Map serializer.
Trait Implementations
impl<'output, Target> SerializeMap for MapSerializer<'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_entry<K: ?Sized + Serialize, V: ?Sized + Serialize>(
&mut self,
key: &K,
value: &V
) -> Result<(), Error>
[src]
&mut self,
key: &K,
value: &V
) -> Result<(), Error>
Serialize a map entry consisting of a key and a value. Read more
fn serialize_key<T: ?Sized + Serialize>(&mut self, key: &T) -> Result<(), Error>
[src]
Serialize a map key.
fn serialize_value<T: ?Sized + Serialize>(
&mut self,
value: &T
) -> Result<(), Error>
[src]
&mut self,
value: &T
) -> Result<(), Error>
Serialize a map value.
fn end(self) -> Result<Self::Ok, Error>
[src]
Finish serializing a map.