pub struct ApiCapabilityManifest {
pub api: ApiInfo,
pub endpoints: EndpointStatistics,
pub commands: HashMap<String, Vec<CommandInfo>>,
pub security_schemes: HashMap<String, SecuritySchemeInfo>,
}Expand description
JSON manifest describing all available commands and parameters for an API context.
This is output when the --describe-json flag is used.
Fields§
§api: ApiInfoBasic API metadata
endpoints: EndpointStatisticsEndpoint availability statistics
commands: HashMap<String, Vec<CommandInfo>>Available command groups organized by tags
security_schemes: HashMap<String, SecuritySchemeInfo>Security schemes available for this API
Trait Implementations§
Source§impl Debug for ApiCapabilityManifest
impl Debug for ApiCapabilityManifest
Source§impl<'de> Deserialize<'de> for ApiCapabilityManifest
impl<'de> Deserialize<'de> for ApiCapabilityManifest
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 ApiCapabilityManifest
impl RefUnwindSafe for ApiCapabilityManifest
impl Send for ApiCapabilityManifest
impl Sync for ApiCapabilityManifest
impl Unpin for ApiCapabilityManifest
impl UnwindSafe for ApiCapabilityManifest
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