Struct kube_core::conversion::ConversionReview
source · pub struct ConversionReview {
pub types: TypeMeta,
pub request: Option<ConversionRequest>,
pub response: Option<ConversionResponse>,
}
Expand description
Struct that describes both request and response
Fields§
§types: TypeMeta
Contains the API version and type of the request
request: Option<ConversionRequest>
Contains conversion request
response: Option<ConversionResponse>
Contains conversion response
Trait Implementations§
source§impl<'de> Deserialize<'de> for ConversionReview
impl<'de> Deserialize<'de> for ConversionReview
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<ConversionResponse> for ConversionReview
impl From<ConversionResponse> for ConversionReview
source§fn from(response: ConversionResponse) -> Self
fn from(response: ConversionResponse) -> Self
Converts to this type from the input type.
source§impl Serialize for ConversionReview
impl Serialize for ConversionReview
source§impl TryFrom<ConversionReview> for ConversionRequest
impl TryFrom<ConversionReview> for ConversionRequest
§type Error = ConvertConversionReviewError
type Error = ConvertConversionReviewError
The type returned in the event of a conversion error.
Auto Trait Implementations§
impl Freeze for ConversionReview
impl RefUnwindSafe for ConversionReview
impl Send for ConversionReview
impl Sync for ConversionReview
impl Unpin for ConversionReview
impl UnwindSafe for ConversionReview
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