Enum k8s_openapi_codegen_common::swagger20::OperationResponses [−][src]
pub enum OperationResponses {
Common(Type),
Map(BTreeMap<StatusCode, Schema>),
}
Expand description
The type of all possible responses of an API operation.
Variants
Common(Type)
The responses of this operation are represented by a common type that is shared by other operations.
Tuple Fields of Common
0: Type
Map(BTreeMap<StatusCode, Schema>)
The responses of this operation are uniquely identified by this map of HTTP status codes to schemas.
Tuple Fields of Map
0: BTreeMap<StatusCode, Schema>
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for OperationResponses
impl Send for OperationResponses
impl Sync for OperationResponses
impl Unpin for OperationResponses
impl UnwindSafe for OperationResponses
Blanket Implementations
Mutably borrows from an owned value. Read more