Enum mango_orm::forms::output_data::OutputDataForm [−][src]
pub enum OutputDataForm { CheckForm((bool, Vec<String>, HashMap<String, Widget>, Value)), CheckModel((bool, Vec<String>, HashMap<String, Widget>, Document)), Save((bool, Vec<String>, HashMap<String, Widget>, String)), Delete((bool, String)), }
Variants
Implementations
impl OutputDataForm
[src]
impl OutputDataForm
[src]pub fn hash(&self) -> Result<String, Box<dyn Error>>
[src]
pub fn id(&self) -> Result<ObjectId, Box<dyn Error>>
[src]
pub fn wig(&self) -> HashMap<String, Widget>
[src]
pub fn json(&self) -> Result<String, Box<dyn Error>>
[src]
pub fn json_for_admin(&self) -> Result<String, Box<dyn Error>>
[src]
pub fn is_valid(&self) -> bool
[src]
pub fn doc(&self) -> Document
[src]
pub fn form<T>(&self) -> Result<T, Error> where
T: DeserializeOwned,
[src]
T: DeserializeOwned,
pub fn err_msg(&self) -> String
[src]
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OutputDataForm
impl RefUnwindSafe for OutputDataForm
impl Send for OutputDataForm
impl Send for OutputDataForm
impl Sync for OutputDataForm
impl Sync for OutputDataForm
impl Unpin for OutputDataForm
impl Unpin for OutputDataForm
impl UnwindSafe for OutputDataForm
impl UnwindSafe for OutputDataForm