pub enum PostMarginOrderResponse {
Ack(MarginOrderResponseAck),
Result(MarginOrderResponseResult),
Full(MarginOrderResponseFull),
}
Expand description
PostMarginOrderResponse
JSON schema
{
"oneOf": [
{
"$ref": "#/components/schemas/marginOrderResponseAck"
},
{
"$ref": "#/components/schemas/marginOrderResponseResult"
},
{
"$ref": "#/components/schemas/marginOrderResponseFull"
}
]
}
Variants§
Trait Implementations§
Source§impl Clone for PostMarginOrderResponse
impl Clone for PostMarginOrderResponse
Source§fn clone(&self) -> PostMarginOrderResponse
fn clone(&self) -> PostMarginOrderResponse
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 PostMarginOrderResponse
impl Debug for PostMarginOrderResponse
Source§impl<'de> Deserialize<'de> for PostMarginOrderResponse
impl<'de> Deserialize<'de> for PostMarginOrderResponse
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<&PostMarginOrderResponse> for PostMarginOrderResponse
impl From<&PostMarginOrderResponse> for PostMarginOrderResponse
Source§fn from(value: &PostMarginOrderResponse) -> Self
fn from(value: &PostMarginOrderResponse) -> Self
Converts to this type from the input type.
Source§impl From<MarginOrderResponseAck> for PostMarginOrderResponse
impl From<MarginOrderResponseAck> for PostMarginOrderResponse
Source§fn from(value: MarginOrderResponseAck) -> Self
fn from(value: MarginOrderResponseAck) -> Self
Converts to this type from the input type.
Source§impl From<MarginOrderResponseFull> for PostMarginOrderResponse
impl From<MarginOrderResponseFull> for PostMarginOrderResponse
Source§fn from(value: MarginOrderResponseFull) -> Self
fn from(value: MarginOrderResponseFull) -> Self
Converts to this type from the input type.
Source§impl From<MarginOrderResponseResult> for PostMarginOrderResponse
impl From<MarginOrderResponseResult> for PostMarginOrderResponse
Source§fn from(value: MarginOrderResponseResult) -> Self
fn from(value: MarginOrderResponseResult) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for PostMarginOrderResponse
impl RefUnwindSafe for PostMarginOrderResponse
impl Send for PostMarginOrderResponse
impl Sync for PostMarginOrderResponse
impl Unpin for PostMarginOrderResponse
impl UnwindSafe for PostMarginOrderResponse
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