Enum k8s_openapi::v1_10::api::apps::v1::CreateAppsV1NamespacedStatefulSetResponse [−][src]
pub enum CreateAppsV1NamespacedStatefulSetResponse {
Ok(StatefulSet),
Created(StatefulSet),
Accepted(StatefulSet),
Unauthorized,
Other,
}Parses the HTTP response of StatefulSet::create_apps_v1_namespaced_stateful_set
Variants
Ok(StatefulSet)Created(StatefulSet)Accepted(StatefulSet)Other
Trait Implementations
impl Debug for CreateAppsV1NamespacedStatefulSetResponse[src]
impl Debug for CreateAppsV1NamespacedStatefulSetResponsefn 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 CreateAppsV1NamespacedStatefulSetResponse[src]
impl Response for CreateAppsV1NamespacedStatefulSetResponsefn 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.