Enum csv_diff::diff_row::DiffByteRecord
source · pub enum DiffByteRecord {
Add(ByteRecordLineInfo),
Modify {
delete: ByteRecordLineInfo,
add: ByteRecordLineInfo,
field_indices: Vec<usize>,
},
Delete(ByteRecordLineInfo),
}
Variants§
Implementations§
Trait Implementations§
source§impl Clone for DiffByteRecord
impl Clone for DiffByteRecord
source§fn clone(&self) -> DiffByteRecord
fn clone(&self) -> DiffByteRecord
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for DiffByteRecord
impl Debug for DiffByteRecord
source§impl PartialEq<DiffByteRecord> for DiffByteRecord
impl PartialEq<DiffByteRecord> for DiffByteRecord
source§fn eq(&self, other: &DiffByteRecord) -> bool
fn eq(&self, other: &DiffByteRecord) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.