Struct mango_orm::migration::ModelState
source · [−]pub struct ModelState {
pub database: String,
pub collection: String,
pub fields: Vec<String>,
pub map_widgets: HashMap<String, String>,
pub status: bool,
}
Expand description
For creation and updating of a technical database.
Fields
database: String
collection: String
fields: Vec<String>
map_widgets: HashMap<String, String>
status: bool
Trait Implementations
sourceimpl<'de> Deserialize<'de> for ModelState
impl<'de> Deserialize<'de> for ModelState
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for ModelState
impl Serialize for ModelState
Auto Trait Implementations
impl RefUnwindSafe for ModelState
impl Send for ModelState
impl Sync for ModelState
impl Unpin for ModelState
impl UnwindSafe for ModelState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more