Struct serde_intermediate::ser::intermediate::StructSerializer
source · [−]pub struct StructSerializer { /* private fields */ }Trait Implementations
sourceimpl SerializeStruct for StructSerializer
impl SerializeStruct for StructSerializer
type Ok = Intermediate
type Ok = Intermediate
Must match the Ok type of our Serializer.
sourcefn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> where
T: ?Sized + Serialize,
fn serialize_field<T>(&mut self, key: &'static str, value: &T) -> Result<()> where
T: ?Sized + Serialize,
Serialize a struct field.
sourcefn end(self) -> Result<Intermediate>
fn end(self) -> Result<Intermediate>
Finish serializing a struct.
Auto Trait Implementations
impl RefUnwindSafe for StructSerializer
impl Send for StructSerializer
impl Sync for StructSerializer
impl Unpin for StructSerializer
impl UnwindSafe for StructSerializer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more