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 Clone for ConversionReview
impl Clone for ConversionReview
Source§fn clone(&self) -> ConversionReview
fn clone(&self) -> ConversionReview
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ConversionReview
impl Debug for ConversionReview
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 PartialEq for ConversionReview
impl PartialEq for ConversionReview
Source§impl Serialize for ConversionReview
impl Serialize for ConversionReview
Source§impl TryFrom<ConversionReview> for ConversionRequest
impl TryFrom<ConversionReview> for ConversionRequest
Source§type Error = ConvertConversionReviewError
type Error = ConvertConversionReviewError
The type returned in the event of a conversion error.
impl StructuralPartialEq for ConversionReview
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