Expand description
GetOrderResponse : The response schema for the getOrder operation.
Fields
payload: Option<Box<Order>>errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations
sourceimpl GetOrderResponse
impl GetOrderResponse
sourcepub fn new() -> GetOrderResponse
pub fn new() -> GetOrderResponse
The response schema for the getOrder operation.
Trait Implementations
sourceimpl Clone for GetOrderResponse
impl Clone for GetOrderResponse
sourcefn clone(&self) -> GetOrderResponse
fn clone(&self) -> GetOrderResponse
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for GetOrderResponse
impl Debug for GetOrderResponse
sourceimpl Default for GetOrderResponse
impl Default for GetOrderResponse
sourcefn default() -> GetOrderResponse
fn default() -> GetOrderResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetOrderResponse
impl<'de> Deserialize<'de> for GetOrderResponse
sourcefn 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
sourceimpl PartialEq<GetOrderResponse> for GetOrderResponse
impl PartialEq<GetOrderResponse> for GetOrderResponse
sourcefn eq(&self, other: &GetOrderResponse) -> bool
fn eq(&self, other: &GetOrderResponse) -> bool
sourceimpl Serialize for GetOrderResponse
impl Serialize for GetOrderResponse
impl StructuralPartialEq for GetOrderResponse
Auto Trait Implementations
impl RefUnwindSafe for GetOrderResponse
impl Send for GetOrderResponse
impl Sync for GetOrderResponse
impl Unpin for GetOrderResponse
impl UnwindSafe for GetOrderResponse
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more