reflectapi 0.16.11

ReflectAPI is a library for Rust code-first web service API declaration and corresponding clients code generation tools.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
pub use serde_derive::{Deserialize, Serialize};

pub trait Serialize {}

pub trait Deserialize<'de>: Sized {}

// Implement for all types so the derive macros can be noops.
impl<T> Serialize for T {}
impl<T> Deserialize<'_> for T {}

pub mod de {
    pub trait DeserializeOwned {}

    impl<T> DeserializeOwned for T where T: for<'de> crate::Deserialize<'de> {}
}