pub struct TimeOfDayReturnProfileOutput {
pub bins: Vec<f64>,
}Expand description
Time-of-Day Return Profile output: the per-bucket mean return.
bins[i] is the mean simple return of all bars whose local time-of-day fell
in bucket i, where bucket i spans the minutes
[i * 1440 / bins.len(), (i + 1) * 1440 / bins.len()). Empty buckets read
0.0.
Fields§
§bins: Vec<f64>Per-bucket mean return, earliest bucket first. Length equals buckets.
Trait Implementations§
Source§impl Clone for TimeOfDayReturnProfileOutput
impl Clone for TimeOfDayReturnProfileOutput
Source§fn clone(&self) -> TimeOfDayReturnProfileOutput
fn clone(&self) -> TimeOfDayReturnProfileOutput
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 TimeOfDayReturnProfileOutput
impl Debug for TimeOfDayReturnProfileOutput
Source§impl PartialEq for TimeOfDayReturnProfileOutput
impl PartialEq for TimeOfDayReturnProfileOutput
Source§fn eq(&self, other: &TimeOfDayReturnProfileOutput) -> bool
fn eq(&self, other: &TimeOfDayReturnProfileOutput) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TimeOfDayReturnProfileOutput
Auto Trait Implementations§
impl Freeze for TimeOfDayReturnProfileOutput
impl RefUnwindSafe for TimeOfDayReturnProfileOutput
impl Send for TimeOfDayReturnProfileOutput
impl Sync for TimeOfDayReturnProfileOutput
impl Unpin for TimeOfDayReturnProfileOutput
impl UnsafeUnpin for TimeOfDayReturnProfileOutput
impl UnwindSafe for TimeOfDayReturnProfileOutput
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