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
impl Debug for OutputDataForm
[src]
impl Debug for OutputDataForm
[src]Auto Trait Implementations
impl RefUnwindSafe for OutputDataForm
impl Send for OutputDataForm
impl Sync for OutputDataForm
impl Unpin for OutputDataForm
impl UnwindSafe for OutputDataForm
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]pub fn borrow_mut(&mut self) -> &mut T
[src]
pub fn borrow_mut(&mut self) -> &mut T
[src]Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> Same<T> for T
impl<T> Same<T> for T
type Output = T
type Output = T
Should always be Self
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,