pub enum ReadNamespacedImageStreamImageResponse {
Ok(ImageStreamImage),
Other(Result<Option<Value>, Error>),
}
Expand description
Use <ReadNamespacedImageStreamImageResponse as Response>::try_from_parts
to parse the HTTP response body of ImageStreamImage::read_namespaced_image_stream_image
Variants§
Trait Implementations§
Source§impl Response for ReadNamespacedImageStreamImageResponse
impl Response for ReadNamespacedImageStreamImageResponse
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. Read more
Auto Trait Implementations§
impl Freeze for ReadNamespacedImageStreamImageResponse
impl !RefUnwindSafe for ReadNamespacedImageStreamImageResponse
impl Send for ReadNamespacedImageStreamImageResponse
impl Sync for ReadNamespacedImageStreamImageResponse
impl Unpin for ReadNamespacedImageStreamImageResponse
impl !UnwindSafe for ReadNamespacedImageStreamImageResponse
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more