pub struct CellEdit {
pub column: String,
pub action: String,
pub value: Option<String>,
pub version: Option<String>,
}Expand description
One cell editing its field in place: a form posting the field alone to the record’s edit route.
Fields§
§column: StringThe column’s name, which is the form key the cell posts.
action: StringWhere the form posts: the record’s edit route, with the table’s return target.
value: Option<String>What the cell posts as rendered: a switch’s true or false, a select’s chosen option,
a text input’s value.
version: Option<String>The record’s version the form carries, when the model keeps one.
Trait Implementations§
impl Eq for CellEdit
impl StructuralPartialEq for CellEdit
Auto Trait Implementations§
impl Forget for CellEdit
impl Freeze for CellEdit
impl Move for CellEdit
impl RefUnwindSafe for CellEdit
impl Send for CellEdit
impl Sync for CellEdit
impl Unpin for CellEdit
impl UnsafeUnpin for CellEdit
impl UnwindSafe for CellEdit
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.