pub fn to_writer<W: Write, S: Serialize>( writer: W, value: &S) -> Result<(), DeError>
Serialize struct into a Writer
Write