pub enum CreateAppsV1NamespacedStatefulSetResponse {
Ok(StatefulSet),
Created(StatefulSet),
Accepted(StatefulSet),
Unauthorized,
Other,
}
Expand description
Parses the HTTP response of StatefulSet::create_apps_v1_namespaced_stateful_set
Variants§
Trait Implementations§
source§impl Response for CreateAppsV1NamespacedStatefulSetResponse
impl Response for CreateAppsV1NamespacedStatefulSetResponse
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.