pub struct ApiSpec {
pub title: String,
pub version: String,
pub description: Option<String>,
pub types: Vec<TypeDef>,
pub endpoints: Vec<Endpoint>,
}Expand description
Root IR node representing the entire API
Fields§
§title: String§version: String§description: Option<String>§types: Vec<TypeDef>§endpoints: Vec<Endpoint>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