impl ApiType for bool

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2019-06-13 14:19:01 +02:00
parent 0d133c4d2c
commit b1e3a9f0d2

View File

@ -253,8 +253,9 @@ macro_rules! unconstrained_api_type {
} }
unconstrained_api_type! {Value} // basically our API's "any" type unconstrained_api_type! {Value} // basically our API's "any" type
unconstrained_api_type! {&str} unconstrained_api_type! {String, &str}
unconstrained_api_type! {String, isize, usize, i64, u64, i32, u32, i16, u16, i8, u8, f64, f32} unconstrained_api_type! {bool}
unconstrained_api_type! {isize, usize, i64, u64, i32, u32, i16, u16, i8, u8, f64, f32}
unconstrained_api_type! {Vec<String>} unconstrained_api_type! {Vec<String>}
// Raw return types are also okay: // Raw return types are also okay: