Struct csv::Encoded
[−]
[src]
pub struct Encoded {
// some fields omitted
}A record to be encoded.
This is a "wrapper" type that allows the Encoder machinery from the
serialize crate to encode a single CSV record from your custom types.
Generally, you should not need to use this type directly. Instead, you
should prefer the encode or encode_all methods defined on CsvWriter.
Methods
impl Encoded[src]
fn new() -> Encoded
Creates a new encodable record. The value returned can be passed to
Encodable::encode.
fn unwrap(self) -> Vec<ByteString>
Once a record has been encoded into this value, unwrap can be used
to access the raw CSV record.