[][src]Struct kiln::Row

pub struct Row { /* fields omitted */ }

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_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.

impl Debug for Row[src]

Auto Trait Implementations

impl Send for Row

impl Sync for Row

Blanket Implementations

impl<T> From for T[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.