pub struct IndexEntry { /* private fields */ }Expand description
A single row in the index file.
Implementations§
Source§impl IndexEntry
impl IndexEntry
Sourcepub fn matches(
&self,
columns: &[String],
attributes: &HashMap<String, String>,
) -> bool
pub fn matches( &self, columns: &[String], attributes: &HashMap<String, String>, ) -> bool
Check if this entry matches the given attributes.
All provided attributes must match (AND logic). Attributes not in the index are silently ignored.
Sourcepub fn raw_values(&self) -> &[String]
pub fn raw_values(&self) -> &[String]
Get the raw CSV values.
Trait Implementations§
Source§impl Clone for IndexEntry
impl Clone for IndexEntry
Source§fn clone(&self) -> IndexEntry
fn clone(&self) -> IndexEntry
Returns a duplicate 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 moreAuto Trait Implementations§
impl Freeze for IndexEntry
impl RefUnwindSafe for IndexEntry
impl Send for IndexEntry
impl Sync for IndexEntry
impl Unpin for IndexEntry
impl UnwindSafe for IndexEntry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more