[][src]Macro templar::data_unwrap_into

macro_rules! data_unwrap_into {
    ($type:ident : $data:expr) => { ... };
}

data_unwrap_into!() safely unwraps a Data struct into a Document value of the specified type.

If the Data is failed or empty, the data is immediately returned. Because of this, this macro can only be used in functions that return Data.