pub struct GetTradeByIdResponse {
pub trade: Option<PublicTrade>,
}Expand description
A single trade.
JSON schema
{
"description": "A single trade.",
"type": "object",
"properties": {
"trade": {
"$ref": "#/components/schemas/PublicTrade"
}
}
}Fields§
§trade: Option<PublicTrade>Trait Implementations§
Source§impl Clone for GetTradeByIdResponse
impl Clone for GetTradeByIdResponse
Source§fn clone(&self) -> GetTradeByIdResponse
fn clone(&self) -> GetTradeByIdResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 GetTradeByIdResponse
impl Debug for GetTradeByIdResponse
Source§impl Default for GetTradeByIdResponse
impl Default for GetTradeByIdResponse
Source§impl<'de> Deserialize<'de> for GetTradeByIdResponse
impl<'de> Deserialize<'de> for GetTradeByIdResponse
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
Auto Trait Implementations§
impl Freeze for GetTradeByIdResponse
impl RefUnwindSafe for GetTradeByIdResponse
impl Send for GetTradeByIdResponse
impl Sync for GetTradeByIdResponse
impl Unpin for GetTradeByIdResponse
impl UnsafeUnpin for GetTradeByIdResponse
impl UnwindSafe for GetTradeByIdResponse
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