pub struct QueryStructSerializer<'a, 'b> { /* private fields */ }Expand description
A serializer for structs and maps (objects).
Trait Implementations§
Source§impl<'a, 'b> SerializeMap for QueryStructSerializer<'a, 'b>
impl<'a, 'b> SerializeMap for QueryStructSerializer<'a, 'b>
Source§type Error = QueryParamError
type Error = QueryParamError
Must match the
Error type of our Serializer.Source§fn serialize_key<T: ?Sized + Serialize>(
&mut self,
key: &T,
) -> Result<(), Self::Error>
fn serialize_key<T: ?Sized + Serialize>( &mut self, key: &T, ) -> Result<(), Self::Error>
Serialize a map key. Read more
Source§impl<'a, 'b> SerializeStruct for QueryStructSerializer<'a, 'b>
impl<'a, 'b> SerializeStruct for QueryStructSerializer<'a, 'b>
Auto Trait Implementations§
impl<'a, 'b> Freeze for QueryStructSerializer<'a, 'b>
impl<'a, 'b> RefUnwindSafe for QueryStructSerializer<'a, 'b>
impl<'a, 'b> Send for QueryStructSerializer<'a, 'b>
impl<'a, 'b> Sync for QueryStructSerializer<'a, 'b>
impl<'a, 'b> Unpin for QueryStructSerializer<'a, 'b>
impl<'a, 'b> !UnwindSafe for QueryStructSerializer<'a, 'b>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more