Struct serde_urlencoded::Serializer [−][src]
pub struct Serializer<'output, Target: 'output + UrlEncodedTarget> { /* fields omitted */ }
A serializer for the application/x-www-form-urlencoded
format.
-
Supported top-level inputs are structs, maps and sequences of pairs, with or without a given length.
-
Supported keys and values are integers, bytes (if convertible to strings), unit structs and unit variants.
-
Newtype structs defer to their inner values.
Methods
impl<'output, Target: 'output + UrlEncodedTarget> Serializer<'output, Target>
[src]
[−]
impl<'output, Target: 'output + UrlEncodedTarget> Serializer<'output, Target>
pub fn new(urlencoder: &'output mut UrlEncodedSerializer<Target>) -> Self
[src]
[−]
pub fn new(urlencoder: &'output mut UrlEncodedSerializer<Target>) -> Self
Returns a new Serializer
.
Trait Implementations
impl<'output, Target> Serializer for Serializer<'output, Target> where
Target: 'output + UrlEncodedTarget,
[src]
[+]
impl<'output, Target> Serializer for Serializer<'output, Target> where
Target: 'output + UrlEncodedTarget,
Auto Trait Implementations
impl<'output, Target> !Send for Serializer<'output, Target>
impl<'output, Target> !Send for Serializer<'output, Target>
impl<'output, Target> !Sync for Serializer<'output, Target>
impl<'output, Target> !Sync for Serializer<'output, Target>