pub struct TradeWriteCommandSpec {
pub operation: TradeWriteOperation,
pub real_cmd: u16,
pub sim_cmd: Option<u16>,
pub real_body: TradeWriteBodyProto,
pub sim_body: Option<TradeWriteBodyProto>,
pub real_channel: TradeBackendChannel,
pub sim_channel: Option<TradeBackendChannel>,
pub cpp_ref: &'static str,
}Fields§
§operation: TradeWriteOperation§real_cmd: u16§sim_cmd: Option<u16>§real_body: TradeWriteBodyProto§sim_body: Option<TradeWriteBodyProto>§real_channel: TradeBackendChannel§sim_channel: Option<TradeBackendChannel>§cpp_ref: &'static strTrait Implementations§
Source§impl Clone for TradeWriteCommandSpec
impl Clone for TradeWriteCommandSpec
Source§fn clone(&self) -> TradeWriteCommandSpec
fn clone(&self) -> TradeWriteCommandSpec
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 TradeWriteCommandSpec
impl Debug for TradeWriteCommandSpec
Source§impl PartialEq for TradeWriteCommandSpec
impl PartialEq for TradeWriteCommandSpec
impl Copy for TradeWriteCommandSpec
impl Eq for TradeWriteCommandSpec
impl StructuralPartialEq for TradeWriteCommandSpec
Auto Trait Implementations§
impl Freeze for TradeWriteCommandSpec
impl RefUnwindSafe for TradeWriteCommandSpec
impl Send for TradeWriteCommandSpec
impl Sync for TradeWriteCommandSpec
impl Unpin for TradeWriteCommandSpec
impl UnsafeUnpin for TradeWriteCommandSpec
impl UnwindSafe for TradeWriteCommandSpec
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.