Struct v9::table::example::cheeses::Edit[][src]

pub struct Edit<'a> {
    pub quantity: quantity<'a>,
    pub stinky: stinky<'a>,
}

Modification-access to the elements of a table.

This does not allow adding or removing rows. Changes will be logged if necessary. The id list can’t be stored in here, so you must ask for it separately, like my_table_ids: &my_table::Ids. If you are only editing one column, you might consider _: my_table::edit::specific_column.

Fields

quantity: quantity<'a>stinky: stinky<'a>

Implementations

impl<'a> Edit<'a>[src]

pub fn clone_row(&self, i: impl 'a + Check<M = Marker>) -> Row[src]

pub fn ref_row(&self, i: impl 'a + Check<M = Marker>) -> RowRef<'_>[src]

pub fn borrow(&'a self, ids: &'a Ids) -> Read<'a>[src]

Trait Implementations

impl<'a> Extract for __Edit<'a>[src]

type Owned = __OwnedContext

type Cleanup = __OwnedCleanup

Default is (), which does nothing.

Auto Trait Implementations

impl<'a> RefUnwindSafe for __Edit<'a>

impl<'a> Send for __Edit<'a>

impl<'a> Sync for __Edit<'a>

impl<'a> Unpin for __Edit<'a>

impl<'a> !UnwindSafe for __Edit<'a>

Blanket Implementations

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

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

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

impl<X> ForeignKey for X[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.