[][src]Function proj17_iot_server::persistance::db::get_order_by_id

pub fn get_order_by_id(order_id: &String) -> Result<Option<Order>, String>

Returns an Order if exists

Arguments

order_id - an String representing an order id