odata_client_codegen 0.1.0

Strongly-typed OData client code generation
Documentation
#[allow(unused_imports)]
use odata_client::{
    chrono::{DateTime, FixedOffset, NaiveDate, NaiveTime},
    deserialize_with, iso8601,
    serde::Deserialize,
    serde_with::serde_as,
    uuid, EntityLink, EntityLinkStub, EntityProperties, EntitySetEndpoint, ExpandQuery,
    SingletonEndpoint,
};
use std::marker::PhantomData;
pub const SERVICE_URL: &'static str = "http://services.odata.org/V4/TripPinService";
#[allow(dead_code)]
pub const SOME_TYPE_SINGLE: SingletonEndpoint<SomeType> = SingletonEndpoint {
    service_url: SERVICE_URL,
    name: "someTypeSingle",
    marker: PhantomData,
};
#[allow(dead_code)]
pub const SOME_TYPE_SINGLE_: SingletonEndpoint<SomeType> = SingletonEndpoint {
    service_url: SERVICE_URL,
    name: "SomeTypeSingle",
    marker: PhantomData,
};
#[serde_as(crate = "odata_client::serde_with")]
#[derive(Debug, Deserialize)]
#[serde(crate = "odata_client::serde")]
pub struct SomeType {
    #[serde(rename = "Id")]
    pub id: i32,
}
impl EntityProperties for SomeType {
    const EXPAND_QUERY: ExpandQuery = ExpandQuery::None;
}