Skip to main content

impl_type

Macro impl_type 

Source
macro_rules! impl_type {
    ($ty:ty) => { ... };
    ($ty:ty, $name:expr) => { ... };
}
Available on crate feature poem-openapi only.
Expand description

Implement poem-openapi Type + ParseFromJSON for a vld type: impl_type!(T) or impl_type!(T, "ComponentName"). See the module docs.