Struct apidoc_core::document::ApiDocument
source · pub struct ApiDocument {
pub ident: String,
pub name: String,
pub note: Option<String>,
pub version: Option<String>,
pub modules: HashMap<String, ApiModule>,
pub resources: Vec<ApiResource>,
pub operations: Vec<ApiOperation>,
pub models: HashMap<String, ApiModel>,
pub errors: Vec<ApiErrorItem>,
}
Fields§
§ident: String
§name: String
§note: Option<String>
§version: Option<String>
§modules: HashMap<String, ApiModule>
§resources: Vec<ApiResource>
§operations: Vec<ApiOperation>
§models: HashMap<String, ApiModel>
§errors: Vec<ApiErrorItem>
Trait Implementations§
source§impl Debug for ApiDocument
impl Debug for ApiDocument
source§impl<'de> Deserialize<'de> for ApiDocument
impl<'de> Deserialize<'de> for ApiDocument
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ApiDocument
impl RefUnwindSafe for ApiDocument
impl Send for ApiDocument
impl Sync for ApiDocument
impl Unpin for ApiDocument
impl UnwindSafe for ApiDocument
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