struct KeyValueSeqSerializer<'a, M> {
delegate: &'a mut M,
is_human_readable: bool,
content: Vec<Content>,
key: Option<Content>,
}Expand description
Serialize a sequence to a key and value pair of a map.
This requires that the sequence has at least one element.
Fields§
§delegate: &'a mut M§is_human_readable: bool§content: Vec<Content>§key: Option<Content>Trait Implementations§
Source§impl<M> SerializeSeq for KeyValueSeqSerializer<'_, M>where
M: SerializeMap,
impl<M> SerializeSeq for KeyValueSeqSerializer<'_, M>where
M: SerializeMap,
Auto Trait Implementations§
impl<'a, M> Freeze for KeyValueSeqSerializer<'a, M>
impl<'a, M> RefUnwindSafe for KeyValueSeqSerializer<'a, M>where
M: RefUnwindSafe,
impl<'a, M> Send for KeyValueSeqSerializer<'a, M>where
M: Send,
impl<'a, M> Sync for KeyValueSeqSerializer<'a, M>where
M: Sync,
impl<'a, M> Unpin for KeyValueSeqSerializer<'a, M>
impl<'a, M> UnsafeUnpin for KeyValueSeqSerializer<'a, M>
impl<'a, M> !UnwindSafe for KeyValueSeqSerializer<'a, M>
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