pub struct RoleContribution {
pub role: String,
pub beta_to_team: f64,
pub mean_return: f64,
}Expand description
One role’s contribution to a team.
Fields§
§role: String§beta_to_team: f64Regression beta of the team return on this role — how much the team moves per unit of this role’s signal. Near 0 ⇒ the role isn’t load-bearing.
mean_return: f64Trait Implementations§
Source§impl Clone for RoleContribution
impl Clone for RoleContribution
Source§fn clone(&self) -> RoleContribution
fn clone(&self) -> RoleContribution
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 RoleContribution
impl Debug for RoleContribution
Source§impl<'de> Deserialize<'de> for RoleContribution
impl<'de> Deserialize<'de> for RoleContribution
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 PartialEq for RoleContribution
impl PartialEq for RoleContribution
Source§impl Serialize for RoleContribution
impl Serialize for RoleContribution
impl StructuralPartialEq for RoleContribution
Auto Trait Implementations§
impl Freeze for RoleContribution
impl RefUnwindSafe for RoleContribution
impl Send for RoleContribution
impl Sync for RoleContribution
impl Unpin for RoleContribution
impl UnsafeUnpin for RoleContribution
impl UnwindSafe for RoleContribution
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