uber_api 0.2.8

A library coded in Rust and hosted on crates.io for Uber's API. In particular, Uber Direct with their DaaS API. The Menu API Models have been added as well (endpoints in progress).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
use serde::{Serialize, Deserialize};
use crate::models::order::FulfillmentIssue;

/// # Request Parameters
///
/// up-to-date documentation can be found here -> https://developer.uber.com/docs/eats/references/api/v2/patch-eats-orders-orderid-cart
/// endpoint -> https://api.uber.com/v2/eats/orders/{order_id}/cart
///
#[derive(Serialize, Deserialize, Default, Debug)]
#[serde(rename_all = "snake_case")]
pub struct UpdateOrderRequest {
    pub fulfillment_issues: Vec<FulfillmentIssue>,
}