pub struct CommissionAndFeesReport {
pub exec_id: Option<String>,
pub commission_and_fees: Option<f64>,
pub currency: Option<String>,
pub realized_pnl: Option<f64>,
pub bond_yield: Option<f64>,
pub yield_redemption_date: Option<String>,
}Fields§
§exec_id: Option<String>§commission_and_fees: Option<f64>§currency: Option<String>§realized_pnl: Option<f64>§bond_yield: Option<f64>§yield_redemption_date: Option<String>Implementations§
Source§impl CommissionAndFeesReport
impl CommissionAndFeesReport
Sourcepub fn exec_id(&self) -> &str
pub fn exec_id(&self) -> &str
Returns the value of exec_id, or the default value if exec_id is unset.
Sourcepub fn commission_and_fees(&self) -> f64
pub fn commission_and_fees(&self) -> f64
Returns the value of commission_and_fees, or the default value if commission_and_fees is unset.
Sourcepub fn currency(&self) -> &str
pub fn currency(&self) -> &str
Returns the value of currency, or the default value if currency is unset.
Sourcepub fn realized_pnl(&self) -> f64
pub fn realized_pnl(&self) -> f64
Returns the value of realized_pnl, or the default value if realized_pnl is unset.
Sourcepub fn bond_yield(&self) -> f64
pub fn bond_yield(&self) -> f64
Returns the value of bond_yield, or the default value if bond_yield is unset.
Sourcepub fn yield_redemption_date(&self) -> &str
pub fn yield_redemption_date(&self) -> &str
Returns the value of yield_redemption_date, or the default value if yield_redemption_date is unset.
Trait Implementations§
Source§impl Clone for CommissionAndFeesReport
impl Clone for CommissionAndFeesReport
Source§fn clone(&self) -> CommissionAndFeesReport
fn clone(&self) -> CommissionAndFeesReport
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 moreSource§impl Debug for CommissionAndFeesReport
impl Debug for CommissionAndFeesReport
Source§impl Default for CommissionAndFeesReport
impl Default for CommissionAndFeesReport
Source§impl Message for CommissionAndFeesReport
impl Message for CommissionAndFeesReport
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 CommissionAndFeesReport
impl PartialEq for CommissionAndFeesReport
impl StructuralPartialEq for CommissionAndFeesReport
Auto Trait Implementations§
impl Freeze for CommissionAndFeesReport
impl RefUnwindSafe for CommissionAndFeesReport
impl Send for CommissionAndFeesReport
impl Sync for CommissionAndFeesReport
impl Unpin for CommissionAndFeesReport
impl UnsafeUnpin for CommissionAndFeesReport
impl UnwindSafe for CommissionAndFeesReport
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