pub struct ModelData<M, T> { /* private fields */ }Expand description
Items (T) naming fields of the model M, e.g. the set filters of a
generated filter-options model.
Every item names one of M’s PersistedFields::FIELD_NAMES; that is
what lets the persistence layer check, from M alone, that each field it
will write has a column.
Implementations§
Trait Implementations§
Source§impl<M, T> IntoIterator for ModelData<M, T>
impl<M, T> IntoIterator for ModelData<M, T>
Auto Trait Implementations§
impl<M, T> Forget for ModelData<M, T>
impl<M, T> Freeze for ModelData<M, T>
impl<M, T> Move for ModelData<M, T>
impl<M, T> RefUnwindSafe for ModelData<M, T>
impl<M, T> Send for ModelData<M, T>
impl<M, T> Sync for ModelData<M, T>
impl<M, T> Unpin for ModelData<M, T>
impl<M, T> UnsafeUnpin for ModelData<M, T>
impl<M, T> UnwindSafe for ModelData<M, T>
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