pub struct GetRatesResponse {
pub payload: Option<Box<GetRatesResult>>,
pub errors: Option<Vec<Error>>,
}Expand description
GetRatesResponse : The response schema for the getRates operation.
Fields
payload: Option<Box<GetRatesResult>>errors: Option<Vec<Error>>A list of error responses returned when a request is unsuccessful.
Implementations
sourceimpl GetRatesResponse
impl GetRatesResponse
sourcepub fn new() -> GetRatesResponse
pub fn new() -> GetRatesResponse
The response schema for the getRates operation.
Trait Implementations
sourceimpl Clone for GetRatesResponse
impl Clone for GetRatesResponse
sourcefn clone(&self) -> GetRatesResponse
fn clone(&self) -> GetRatesResponse
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 GetRatesResponse
impl Debug for GetRatesResponse
sourceimpl Default for GetRatesResponse
impl Default for GetRatesResponse
sourcefn default() -> GetRatesResponse
fn default() -> GetRatesResponse
Returns the “default value” for a type. Read more
sourceimpl<'de> Deserialize<'de> for GetRatesResponse
impl<'de> Deserialize<'de> for GetRatesResponse
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<GetRatesResponse> for GetRatesResponse
impl PartialEq<GetRatesResponse> for GetRatesResponse
sourcefn eq(&self, other: &GetRatesResponse) -> bool
fn eq(&self, other: &GetRatesResponse) -> bool
sourceimpl Serialize for GetRatesResponse
impl Serialize for GetRatesResponse
impl StructuralPartialEq for GetRatesResponse
Auto Trait Implementations
impl RefUnwindSafe for GetRatesResponse
impl Send for GetRatesResponse
impl Sync for GetRatesResponse
impl Unpin for GetRatesResponse
impl UnwindSafe for GetRatesResponse
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