pub struct DayOfWeekProfileOutput {
pub bins: Vec<f64>,
}Expand description
Day-of-Week Profile output: the per-weekday mean return.
bins[i] is the mean simple return of all bars whose local weekday was i,
with Monday as 0 through Sunday as 6. Weekdays with no bars read 0.0.
Fields§
§bins: Vec<f64>Per-weekday mean return, Monday first. Always length 7.
Trait Implementations§
Source§impl Clone for DayOfWeekProfileOutput
impl Clone for DayOfWeekProfileOutput
Source§fn clone(&self) -> DayOfWeekProfileOutput
fn clone(&self) -> DayOfWeekProfileOutput
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 DayOfWeekProfileOutput
impl Debug for DayOfWeekProfileOutput
Source§impl PartialEq for DayOfWeekProfileOutput
impl PartialEq for DayOfWeekProfileOutput
Source§fn eq(&self, other: &DayOfWeekProfileOutput) -> bool
fn eq(&self, other: &DayOfWeekProfileOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for DayOfWeekProfileOutput
Auto Trait Implementations§
impl Freeze for DayOfWeekProfileOutput
impl RefUnwindSafe for DayOfWeekProfileOutput
impl Send for DayOfWeekProfileOutput
impl Sync for DayOfWeekProfileOutput
impl Unpin for DayOfWeekProfileOutput
impl UnsafeUnpin for DayOfWeekProfileOutput
impl UnwindSafe for DayOfWeekProfileOutput
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more