Struct serde_urlencoded::ser::StructVariantSerializer [−][src]
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]
Target: 'output + UrlEncodedTarget,
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,
impl<'input, 'output, T> !UnwindSafe for StructVariantSerializer<'input, 'output, T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,