pub struct ColumnMapper<'a> {
pub name_to_id: ColumnNameToId<'a>,
pub id_to_name: ColumnIdToName<'a>,
}
Expand description
Column Mapper - Utility to generate the name
<-> id
mappings for
columns in a sheet.
Fields§
§name_to_id: ColumnNameToId<'a>
Represents a mapping of Column Name to Column ID
Note that the ID value is unique, internal, and used mainly in the Smartsheet API.
id_to_name: ColumnIdToName<'a>
Represents a mapping of Column ID to Column Name
Note that the ID value is unique, internal, and used mainly in the Smartsheet API.
Implementations§
Trait Implementations§
Source§impl<'a> From<&'a IndexResult<Column>> for ColumnMapper<'a>
impl<'a> From<&'a IndexResult<Column>> for ColumnMapper<'a>
Source§fn from(index_ref: &'a IndexResult<Column>) -> Self
fn from(index_ref: &'a IndexResult<Column>) -> Self
Converts to this type from the input type.
Source§impl<'a> From<&'a Row> for ColumnMapper<'a>
impl<'a> From<&'a Row> for ColumnMapper<'a>
Auto Trait Implementations§
impl<'a> Freeze for ColumnMapper<'a>
impl<'a> RefUnwindSafe for ColumnMapper<'a>
impl<'a> Send for ColumnMapper<'a>
impl<'a> Sync for ColumnMapper<'a>
impl<'a> Unpin for ColumnMapper<'a>
impl<'a> UnwindSafe for ColumnMapper<'a>
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