pub struct CancelMarketDepthRequest {
pub req_id: i32,
pub is_smart_depth: bool,
}Expand description
Cancel market depth request.
Fields§
§req_id: i32Request id.
is_smart_depth: boolSmart depth.
Trait Implementations§
Source§impl Clone for CancelMarketDepthRequest
impl Clone for CancelMarketDepthRequest
Source§fn clone(&self) -> CancelMarketDepthRequest
fn clone(&self) -> CancelMarketDepthRequest
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 moreimpl Copy for CancelMarketDepthRequest
Source§impl Debug for CancelMarketDepthRequest
impl Debug for CancelMarketDepthRequest
Source§impl EncodableRequest for CancelMarketDepthRequest
impl EncodableRequest for CancelMarketDepthRequest
Source§fn encode_fields(&self, fields: &mut FieldSink) -> TwsApiResult<()>
fn encode_fields(&self, fields: &mut FieldSink) -> TwsApiResult<()>
Appends fields after the message id.
Source§fn encode_fields_for_server_version(
&self,
fields: &mut FieldSink,
server_version: i32,
) -> TwsApiResult<()>
fn encode_fields_for_server_version( &self, fields: &mut FieldSink, server_version: i32, ) -> TwsApiResult<()>
Appends fields for a negotiated server version.
Source§fn encode_protobuf(&self) -> TwsApiResult<Option<Vec<u8>>>
fn encode_protobuf(&self) -> TwsApiResult<Option<Vec<u8>>>
Encodes this request as protobuf when implemented for the request type.
impl Eq for CancelMarketDepthRequest
Source§impl PartialEq for CancelMarketDepthRequest
impl PartialEq for CancelMarketDepthRequest
impl StructuralPartialEq for CancelMarketDepthRequest
Auto Trait Implementations§
impl Freeze for CancelMarketDepthRequest
impl RefUnwindSafe for CancelMarketDepthRequest
impl Send for CancelMarketDepthRequest
impl Sync for CancelMarketDepthRequest
impl Unpin for CancelMarketDepthRequest
impl UnsafeUnpin for CancelMarketDepthRequest
impl UnwindSafe for CancelMarketDepthRequest
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