Struct serde_intermediate::ser::intermediate::MapSerializer
source · pub struct MapSerializer { /* private fields */ }
Trait Implementations§
source§impl SerializeMap for MapSerializer
impl SerializeMap for MapSerializer
§type Ok = Intermediate
type Ok = Intermediate
Must match the
Ok
type of our Serializer
.source§fn serialize_key<T>(&mut self, key: &T) -> Result<()>where
T: ?Sized + Serialize,
fn serialize_key<T>(&mut self, key: &T) -> Result<()>where T: ?Sized + Serialize,
Serialize a map key. Read more
source§fn serialize_value<T>(&mut self, value: &T) -> Result<()>where
T: ?Sized + Serialize,
fn serialize_value<T>(&mut self, value: &T) -> Result<()>where T: ?Sized + Serialize,
Serialize a map value. Read more
Auto Trait Implementations§
impl RefUnwindSafe for MapSerializer
impl Send for MapSerializer
impl Sync for MapSerializer
impl Unpin for MapSerializer
impl UnwindSafe for MapSerializer
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