pub struct StructSerializer<'a> { /* private fields */ }Expand description
Struct serializer with attribute support.
Element fields stream directly into the shared output. The start tag is written when the first element field produces output, carrying the attributes collected up to that point; an attribute field that arrives after the start tag has been written is spliced into it in place.
Trait Implementations§
Source§impl<'a> SerializeStruct for StructSerializer<'a>
impl<'a> SerializeStruct for StructSerializer<'a>
Source§impl<'a> SerializeStructVariant for StructSerializer<'a>
impl<'a> SerializeStructVariant for StructSerializer<'a>
Auto Trait Implementations§
impl<'a> !UnwindSafe for StructSerializer<'a>
impl<'a> Freeze for StructSerializer<'a>
impl<'a> RefUnwindSafe for StructSerializer<'a>
impl<'a> Send for StructSerializer<'a>
impl<'a> Sync for StructSerializer<'a>
impl<'a> Unpin for StructSerializer<'a>
impl<'a> UnsafeUnpin for StructSerializer<'a>
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