Enum mango_orm::models::output_data::OutputDataOne [−][src]
pub enum OutputDataOne {
Doc((Option<Document>, Vec<String>, HashMap<String, String>, String, String)),
}Variants
Implementations
impl OutputDataOne[src]
impl OutputDataOne[src]pub fn raw_doc(&self) -> Document[src]
pub fn doc(&self) -> Result<Document, Box<dyn Error>>[src]
pub fn json(&self) -> Result<String, Box<dyn Error>>[src]
pub fn model<T>(&self) -> Result<T, Error> where
T: DeserializeOwned, [src]
T: DeserializeOwned,
pub fn bool(&self) -> bool[src]
pub fn err_msg(&self) -> String[src]
pub fn to_prepared_doc(
doc: Document,
ignore_fields: Vec<String>,
map_widget_type: HashMap<String, String>,
model_name: String
) -> Result<Document, Box<dyn Error>>[src]
doc: Document,
ignore_fields: Vec<String>,
map_widget_type: HashMap<String, String>,
model_name: String
) -> Result<Document, Box<dyn Error>>
Trait Implementations
impl Clone for OutputDataOne[src]
impl Clone for OutputDataOne[src]fn clone(&self) -> OutputDataOne[src]
fn clone(&self) -> OutputDataOne[src]Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0[src]Performs copy-assignment from source. Read more
Auto Trait Implementations
impl RefUnwindSafe for OutputDataOne
impl Send for OutputDataOne
impl Sync for OutputDataOne
impl Unpin for OutputDataOne
impl UnwindSafe for OutputDataOne
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 Timpl<T> Same<T> for T
impl<T> Same<T> for Ttype Output = T
type Output = TShould always be Self
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,