Enum k8s_openapi::v1_9::api::core::v1::CreateCoreV1NamespaceResponse
source · pub enum CreateCoreV1NamespaceResponse {
Ok(Namespace),
Created(Namespace),
Accepted(Namespace),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of Namespace::create_core_v1_namespace
Variants§
Trait Implementations§
source§impl Response for CreateCoreV1NamespaceResponse
impl Response for CreateCoreV1NamespaceResponse
source§fn try_from_parts(
status_code: StatusCode,
buf: &[u8]
) -> Result<(Self, usize), ResponseError>
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.