Struct ruma_serde::urlencoded::ser::MapSerializer [−][src]
pub struct MapSerializer<'input, 'output, Target: UrlEncodedTarget> { /* fields omitted */ }
Expand description
Map serializer.
Trait Implementations
impl<'input, 'output, Target> SerializeMap for MapSerializer<'input, 'output, Target> where
Target: UrlEncodedTarget,
[src]
impl<'input, 'output, Target> SerializeMap for MapSerializer<'input, 'output, Target> where
Target: UrlEncodedTarget,
[src]type Ok = &'output mut UrlEncodedSerializer<'input, Target>
type Ok = &'output mut UrlEncodedSerializer<'input, Target>
Must match the Ok
type of our Serializer
.
fn serialize_entry<K: ?Sized + Serialize, V: ?Sized + Serialize>(
&mut self,
key: &K,
value: &V
) -> Result<(), Error>
[src]
fn serialize_entry<K: ?Sized + Serialize, V: ?Sized + Serialize>(
&mut self,
key: &K,
value: &V
) -> Result<(), Error>
[src]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]
fn serialize_key<T: ?Sized + Serialize>(&mut self, key: &T) -> Result<(), Error>
[src]Serialize a map key. Read more
Auto Trait Implementations
impl<'input, 'output, Target> !RefUnwindSafe for MapSerializer<'input, 'output, Target>
impl<'input, 'output, Target> !Send for MapSerializer<'input, 'output, Target>
impl<'input, 'output, Target> !Sync for MapSerializer<'input, 'output, Target>
impl<'input, 'output, Target> Unpin for MapSerializer<'input, 'output, Target> where
'input: 'output,
'input: 'output,