pub struct ModelMeta {
pub model: &'static str,
pub table: &'static str,
pub fields: &'static [&'static str],
pub columns: &'static [&'static str],
}Expand description
Metadata about a Model implementor.
Can be retrieved via the Model::metadata method.
Fields§
§model: &'static strThe name of the model type.
table: &'static strThe name of the model table.
fields: &'static [&'static str]The field names of the model type.
columns: &'static [&'static str]The columns of the model table.
Trait Implementations§
Auto Trait Implementations§
impl RefUnwindSafe for ModelMeta
impl Send for ModelMeta
impl Sync for ModelMeta
impl Unpin for ModelMeta
impl UnwindSafe for ModelMeta
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