Enum k8s_openapi::v1_10::api::apps::v1::CreateAppsV1NamespacedDeploymentResponse [−][src]
pub enum CreateAppsV1NamespacedDeploymentResponse {
Ok(Deployment),
Created(Deployment),
Accepted(Deployment),
Unauthorized,
Other,
}Parses the HTTP response of Deployment::create_apps_v1_namespaced_deployment
Variants
Ok(Deployment)Created(Deployment)Accepted(Deployment)Other
Trait Implementations
impl Debug for CreateAppsV1NamespacedDeploymentResponse[src]
impl Debug for CreateAppsV1NamespacedDeploymentResponsefn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl Response for CreateAppsV1NamespacedDeploymentResponse[src]
impl Response for CreateAppsV1NamespacedDeploymentResponsefn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>[src]
fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>Tries to parse the response from the given status code and response body.