Struct k8s_openapi_codegen_common::swagger20::Operation
source · [−]pub struct Operation {
pub description: Option<String>,
pub id: String,
pub method: Method,
pub kubernetes_action: Option<KubernetesAction>,
pub kubernetes_group_kind_version: Option<KubernetesGroupKindVersion>,
pub parameters: Vec<Arc<Parameter>>,
pub path: Path,
pub responses: OperationResponses,
pub tag: Option<String>,
}Expand description
An API operation.
Fields
description: Option<String>id: Stringmethod: Methodkubernetes_action: Option<KubernetesAction>kubernetes_group_kind_version: Option<KubernetesGroupKindVersion>parameters: Vec<Arc<Parameter>>path: Pathresponses: OperationResponsestag: Option<String>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Operation
impl Send for Operation
impl Sync for Operation
impl Unpin for Operation
impl UnwindSafe for Operation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more