pub struct RankingRowView {Show 16 fields
pub id: String,
pub subject: String,
pub kind: String,
pub rule: String,
pub interval: String,
pub verdict: String,
pub conservative_verdict: String,
pub expectancy: f64,
pub expectancy_costs: String,
pub total_return: f64,
pub max_drawdown: f64,
pub trades: u32,
pub regimes: Vec<String>,
pub search: Option<u32>,
pub recorded_at: String,
pub stale: Option<bool>,
}Expand description
One finding on the leaderboard (#226).
Fields§
§id: String§subject: String§kind: String§rule: String§interval: String§verdict: String§conservative_verdict: StringThe verdict under the conservative cost tier, or empty when the run was not asked: a result refused on its own terms is not.
expectancy: f64Mean profit per closed out-of-sample trade: under the conservative tier when it was measured, otherwise under the stated costs.
expectancy_costs: String“conservative” or “stated”: which costs the expectancy is under.
total_return: f64Read it; it is never the order.
max_drawdown: f64§trades: u32§regimes: Vec<String>The regimes the out-of-sample trades opened in, distinct.
search: Option<u32>How many configurations the search tried, when the finding says.
recorded_at: String§stale: Option<bool>Implementations§
Trait Implementations§
Source§impl Clone for RankingRowView
impl Clone for RankingRowView
Source§impl Debug for RankingRowView
impl Debug for RankingRowView
Source§impl Default for RankingRowView
impl Default for RankingRowView
Source§impl<'de> Deserialize<'de> for RankingRowView
impl<'de> Deserialize<'de> for RankingRowView
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Message for RankingRowView
impl Message for RankingRowView
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 RankingRowView
impl PartialEq for RankingRowView
Source§impl Serialize for RankingRowView
impl Serialize for RankingRowView
impl StructuralPartialEq for RankingRowView
Auto Trait Implementations§
impl Freeze for RankingRowView
impl RefUnwindSafe for RankingRowView
impl Send for RankingRowView
impl Sync for RankingRowView
impl Unpin for RankingRowView
impl UnsafeUnpin for RankingRowView
impl UnwindSafe for RankingRowView
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