pub struct ChartOverlayView {
pub mean: f64,
pub std_dev: f64,
pub p25: f64,
pub p50: f64,
pub p75: f64,
pub p99: f64,
pub moving_average: Vec<f64>,
pub trendline_start: f64,
pub trendline_end: f64,
pub trendline_r_squared: f64,
}Expand description
Pre-computed chart overlay data returned across the WASM boundary.
Fields§
§mean: f64§std_dev: f64§p25: f64§p50: f64§p75: f64§p99: f64§moving_average: Vec<f64>§trendline_start: f64§trendline_end: f64§trendline_r_squared: f64Trait Implementations§
Source§impl Clone for ChartOverlayView
impl Clone for ChartOverlayView
Source§fn clone(&self) -> ChartOverlayView
fn clone(&self) -> ChartOverlayView
Returns a duplicate of the value. Read more
1.0.0 · 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 ChartOverlayView
impl Debug for ChartOverlayView
Source§impl From<ChartOverlayView> for JsValuewhere
ChartOverlayView: Serialize,
impl From<ChartOverlayView> for JsValuewhere
ChartOverlayView: Serialize,
Source§fn from(value: ChartOverlayView) -> Self
fn from(value: ChartOverlayView) -> Self
Converts to this type from the input type.
Source§impl IntoWasmAbi for &ChartOverlayViewwhere
ChartOverlayView: Serialize,
impl IntoWasmAbi for &ChartOverlayViewwhere
ChartOverlayView: Serialize,
Source§impl IntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
impl IntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
Source§impl OptionIntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
impl OptionIntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
Source§impl Serialize for ChartOverlayView
impl Serialize for ChartOverlayView
Source§impl Tsify for ChartOverlayView
impl Tsify for ChartOverlayView
const DECL: &'static str = "/**\n * Pre-computed chart overlay data returned across the WASM boundary.\n */\nexport interface ChartOverlayView {\n mean: number;\n std_dev: number;\n p25: number;\n p50: number;\n p75: number;\n p99: number;\n moving_average: number[];\n trendline_start: number;\n trendline_end: number;\n trendline_r_squared: number;\n}"
const SERIALIZATION_CONFIG: SerializationConfig
type JsType = JsType
fn into_js(&self) -> Result<Self::JsType, Error>where
Self: Serialize,
Source§impl VectorIntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
impl VectorIntoWasmAbi for ChartOverlayViewwhere
ChartOverlayView: Serialize,
type Abi = <JsType as VectorIntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[Self]>) -> Self::Abi
Source§impl WasmDescribe for ChartOverlayView
impl WasmDescribe for ChartOverlayView
Auto Trait Implementations§
impl Freeze for ChartOverlayView
impl RefUnwindSafe for ChartOverlayView
impl Send for ChartOverlayView
impl Sync for ChartOverlayView
impl Unpin for ChartOverlayView
impl UnsafeUnpin for ChartOverlayView
impl UnwindSafe for ChartOverlayView
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> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
Source§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::AbiSource§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi, except that it may throw and never
return in the case of Err.