pub struct ResponseGetVolumeAtPrice {
pub template_id: i32,
pub user_msg: Vec<String>,
pub rq_handler_rp_code: Vec<String>,
pub rp_code: Vec<String>,
pub symbol: Option<String>,
pub exchange: Option<String>,
pub trade_price: Vec<f64>,
pub volume_at_price: Vec<i32>,
pub ssboe: Option<i32>,
pub usecs: Option<i32>,
}Expand description
PB_OFFSET = 100000, is the offset added for each MNM field id
Fields§
§template_id: i32PB_OFFSET + MNM_TEMPLATE_ID
user_msg: Vec<String>PB_OFFSET + MNM_USER_MSG
rq_handler_rp_code: Vec<String>PB_OFFSET + MNM_REQUEST_HANDLER_RESPONSE_CODE
rp_code: Vec<String>PB_OFFSET + MNM_RESPONSE_CODE
symbol: Option<String>PB_OFFSET + MNM_SYMBOL
exchange: Option<String>PB_OFFSET + MNM_EXCHANGE
trade_price: Vec<f64>PB_OFFSET + MNM_TRADE_PRICE
volume_at_price: Vec<i32>PB_OFFSET + MNM_VOLUME_AT_PRICE
ssboe: Option<i32>PB_OFFSET + MNM_SECONDS_SINCE_BOE
usecs: Option<i32>PB_OFFSET + MNM_USECS
Implementations§
Trait Implementations§
Source§impl Clone for ResponseGetVolumeAtPrice
impl Clone for ResponseGetVolumeAtPrice
Source§fn clone(&self) -> ResponseGetVolumeAtPrice
fn clone(&self) -> ResponseGetVolumeAtPrice
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 ResponseGetVolumeAtPrice
impl Debug for ResponseGetVolumeAtPrice
Source§impl Default for ResponseGetVolumeAtPrice
impl Default for ResponseGetVolumeAtPrice
Source§impl Message for ResponseGetVolumeAtPrice
impl Message for ResponseGetVolumeAtPrice
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for ResponseGetVolumeAtPrice
impl PartialEq for ResponseGetVolumeAtPrice
impl StructuralPartialEq for ResponseGetVolumeAtPrice
Auto Trait Implementations§
impl Freeze for ResponseGetVolumeAtPrice
impl RefUnwindSafe for ResponseGetVolumeAtPrice
impl Send for ResponseGetVolumeAtPrice
impl Sync for ResponseGetVolumeAtPrice
impl Unpin for ResponseGetVolumeAtPrice
impl UnsafeUnpin for ResponseGetVolumeAtPrice
impl UnwindSafe for ResponseGetVolumeAtPrice
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