Struct smartsheet_rs::helpers::CellGetter
source · [−]pub struct CellGetter<'a> { /* private fields */ }Expand description
Cell Getter - Utility to make it easier to retrieve a Cell from a
Row object.
Implementations
sourceimpl<'a> CellGetter<'a>
impl<'a> CellGetter<'a>
sourcepub fn new(columns: &'a ColumnMapper<'a>) -> Self
pub fn new(columns: &'a ColumnMapper<'a>) -> Self
Create a new CellGetter from a reference to a ColumnMapper object
sourcepub fn from_mapper(columns: &'a ColumnMapper<'a>) -> Self
pub fn from_mapper(columns: &'a ColumnMapper<'a>) -> Self
Create a new CellGetter from a reference to a ColumnMapper object
sourcepub fn from_name_to_id(column_name_to_id: &'a HashMap<&'a str, u64>) -> Self
pub fn from_name_to_id(column_name_to_id: &'a HashMap<&'a str, u64>) -> Self
Create a new CellGetter from a reference to a mapping of column name
to column id
Auto Trait Implementations
impl<'a> RefUnwindSafe for CellGetter<'a>
impl<'a> Send for CellGetter<'a>
impl<'a> Sync for CellGetter<'a>
impl<'a> Unpin for CellGetter<'a>
impl<'a> UnwindSafe for CellGetter<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more