[−][src]Struct kiln::Row
Methods
impl Row
[src]
pub fn new(tab: &Table, from: HashMap<String, ColumnValue>, id: String) -> Self
[src]
pub fn set<T: ToCell + Clone>(&mut self, k: &str, val: T)
[src]
Set a key to a value on a mutable row. The row's internal value cache is updated so the row must be mutable. Abstracts over table.set_cell().
Trait Implementations
impl Clone for Row
[src]
fn clone(&self) -> Row
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<'_> Index<&'_ str> for Row
[src]
type Output = ColumnValue
The returned type after indexing.
fn index(&self, key: &str) -> &ColumnValue
[src]
impl Debug for Row
[src]
Auto Trait Implementations
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,