pub struct RevenueForecastOutput {
pub period: String,
pub forecasted_revenue: f64,
pub lower_bound: f64,
pub upper_bound: f64,
pub confidence_level: f64,
pub based_on_periods: u32,
}Fields§
§period: String§forecasted_revenue: f64§lower_bound: f64§upper_bound: f64§confidence_level: f64§based_on_periods: u32Trait Implementations§
Source§impl Clone for RevenueForecastOutput
impl Clone for RevenueForecastOutput
Source§fn clone(&self) -> RevenueForecastOutput
fn clone(&self) -> RevenueForecastOutput
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 FromNapiValue for RevenueForecastOutput
impl FromNapiValue for RevenueForecastOutput
Source§unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
unsafe fn from_napi_value(env: napi_env, napi_val: napi_value) -> Result<Self>
Safety Read more
fn from_unknown(value: JsUnknown) -> Result<Self, Error>
Source§impl Serialize for RevenueForecastOutput
impl Serialize for RevenueForecastOutput
Source§impl ToNapiValue for RevenueForecastOutput
impl ToNapiValue for RevenueForecastOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: RevenueForecastOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: RevenueForecastOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for RevenueForecastOutput
impl TypeName for RevenueForecastOutput
Source§impl ValidateNapiValue for RevenueForecastOutput
impl ValidateNapiValue for RevenueForecastOutput
Source§unsafe fn validate(
env: *mut napi_env__,
napi_val: *mut napi_value__,
) -> Result<*mut napi_value__, Error>
unsafe fn validate( env: *mut napi_env__, napi_val: *mut napi_value__, ) -> Result<*mut napi_value__, Error>
Safety Read more
Auto Trait Implementations§
impl Freeze for RevenueForecastOutput
impl RefUnwindSafe for RevenueForecastOutput
impl Send for RevenueForecastOutput
impl Sync for RevenueForecastOutput
impl Unpin for RevenueForecastOutput
impl UnsafeUnpin for RevenueForecastOutput
impl UnwindSafe for RevenueForecastOutput
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