pub struct ApiSpec {
pub paths: Vec<String>,
pub request_data_props: Vec<String>,
pub response_data_props: Vec<String>,
pub open_props: bool,
}Fields§
§paths: Vec<String>Path templates, e.g. /api/enrich.
request_data_props: Vec<String>Property names available under request values[].data.
response_data_props: Vec<String>Property names available under response values[].data.
open_props: boolTrue when the data schemas allow additional properties (open contract).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ApiSpec
impl RefUnwindSafe for ApiSpec
impl Send for ApiSpec
impl Sync for ApiSpec
impl Unpin for ApiSpec
impl UnsafeUnpin for ApiSpec
impl UnwindSafe for ApiSpec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more