Struct csv_diff::diff_row::ByteRecordLineInfo
source · pub struct ByteRecordLineInfo { /* private fields */ }
Implementations§
source§impl ByteRecordLineInfo
impl ByteRecordLineInfo
pub fn new(byte_record: ByteRecord, line: u64) -> Self
pub fn byte_record(&self) -> &ByteRecord
pub fn into_byte_record(self) -> ByteRecord
pub fn line(&self) -> u64
Trait Implementations§
source§impl Clone for ByteRecordLineInfo
impl Clone for ByteRecordLineInfo
source§fn clone(&self) -> ByteRecordLineInfo
fn clone(&self) -> ByteRecordLineInfo
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 ByteRecordLineInfo
impl Debug for ByteRecordLineInfo
source§impl PartialEq<ByteRecordLineInfo> for ByteRecordLineInfo
impl PartialEq<ByteRecordLineInfo> for ByteRecordLineInfo
source§fn eq(&self, other: &ByteRecordLineInfo) -> bool
fn eq(&self, other: &ByteRecordLineInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.