pub struct PricingResponse {
pub prices: Vec<ClientPrice>,
pub home_conversions: Option<Vec<HomeConversions>>,
pub time: Option<Timestamp>,
}Expand description
Successful response for pricing.
Fields§
§prices: Vec<ClientPrice>The list of Price objects requested.
home_conversions: Option<Vec<HomeConversions>>The list of home currency conversion factors requested. This field will only be present if includeHomeConversions was set to true in the request.
time: Option<Timestamp>The DateTime value to use for the “since” parameter in the next poll request.
Trait Implementations§
Source§impl Clone for PricingResponse
impl Clone for PricingResponse
Source§impl Debug for PricingResponse
impl Debug for PricingResponse
Source§impl<'de> Deserialize<'de> for PricingResponse
impl<'de> Deserialize<'de> for PricingResponse
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 PartialEq for PricingResponse
impl PartialEq for PricingResponse
Source§impl Serialize for PricingResponse
impl Serialize for PricingResponse
impl StructuralPartialEq for PricingResponse
Auto Trait Implementations§
impl Freeze for PricingResponse
impl RefUnwindSafe for PricingResponse
impl Send for PricingResponse
impl Sync for PricingResponse
impl Unpin for PricingResponse
impl UnsafeUnpin for PricingResponse
impl UnwindSafe for PricingResponse
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