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]
impl<'output, Target> SerializeStruct for StructSerializer<'output, Target> where
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]
fn serialize_field<T: ?Sized + Serialize>(
&mut self,
key: &'static str,
value: &T
) -> Result<(), Error>
Serialize a struct field.
fn end(self) -> Result<Self::Ok, Error>
[src]
fn end(self) -> Result<Self::Ok, Error>
Finish serializing a struct.
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
[src]
fn skip_field(&mut self, key: &'static str) -> Result<(), Self::Error>
Indicate that a struct field has been skipped.
Auto Trait Implementations
impl<'output, Target> !Send for StructSerializer<'output, Target>
impl<'output, Target> !Send for StructSerializer<'output, Target>
impl<'output, Target> !Sync for StructSerializer<'output, Target>
impl<'output, Target> !Sync for StructSerializer<'output, Target>