pub struct CwsReply {
pub guid: String,
pub code: u16,
pub message: String,
pub order_number: Option<String>,
pub raw: Value,
}Expand description
The answer to a command of the trading channel.
Fields§
§guid: StringThe guid of the command (requestGuid of the answer).
code: u16The HTTP-like code: 200 done, 400 refused, 401 not authorized.
message: StringThe text.
order_number: Option<String>The number of the order, for an answer to a create or change.
raw: ValueThe whole answer.
Trait Implementations§
impl StructuralPartialEq for CwsReply
Auto Trait Implementations§
impl Freeze for CwsReply
impl RefUnwindSafe for CwsReply
impl Send for CwsReply
impl Sync for CwsReply
impl Unpin for CwsReply
impl UnsafeUnpin for CwsReply
impl UnwindSafe for CwsReply
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