pub struct RevenueByPeriodOutput {
pub period: String,
pub revenue: f64,
pub order_count: u32,
pub period_start: String,
}Fields§
§period: String§revenue: f64§order_count: u32§period_start: StringTrait Implementations§
Source§impl Clone for RevenueByPeriodOutput
impl Clone for RevenueByPeriodOutput
Source§fn clone(&self) -> RevenueByPeriodOutput
fn clone(&self) -> RevenueByPeriodOutput
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 RevenueByPeriodOutput
impl FromNapiValue for RevenueByPeriodOutput
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 RevenueByPeriodOutput
impl Serialize for RevenueByPeriodOutput
Source§impl ToNapiValue for RevenueByPeriodOutput
impl ToNapiValue for RevenueByPeriodOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: RevenueByPeriodOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: RevenueByPeriodOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for RevenueByPeriodOutput
impl TypeName for RevenueByPeriodOutput
Source§impl ValidateNapiValue for RevenueByPeriodOutput
impl ValidateNapiValue for RevenueByPeriodOutput
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 RevenueByPeriodOutput
impl RefUnwindSafe for RevenueByPeriodOutput
impl Send for RevenueByPeriodOutput
impl Sync for RevenueByPeriodOutput
impl Unpin for RevenueByPeriodOutput
impl UnsafeUnpin for RevenueByPeriodOutput
impl UnwindSafe for RevenueByPeriodOutput
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