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]

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]

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]

Trait Implementations

impl Clone for OutputDataOne[src]

impl Debug for OutputDataOne[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,