Struct serde_urlencoded::ser::StructVariantSerializer [−][src]
pub struct StructVariantSerializer<'input, 'output, T: UrlEncodedTarget> { /* fields omitted */ }
Struct variant serializer.
Never instantiated, struct variants are not supported.
Trait Implementations
impl<'input, 'output, Target> SerializeStructVariant for StructVariantSerializer<'input, 'output, Target> where
Target: 'output + UrlEncodedTarget,
[src]
impl<'input, 'output, Target> SerializeStructVariant for StructVariantSerializer<'input, 'output, Target> where
Target: 'output + UrlEncodedTarget,
[src]type Ok = &'output mut UrlEncodedSerializer<'input, 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>
fn end(self) -> Result<Self::Ok, Error>
[src]
pub fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
Auto Trait Implementations
impl<'input, 'output, T> !RefUnwindSafe for StructVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> !Send for StructVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> !Sync for StructVariantSerializer<'input, 'output, T>
impl<'input, 'output, T> Unpin for StructVariantSerializer<'input, 'output, T> where
'input: 'output,
'input: 'output,