pub struct IncomeStatementOutput {
pub period_start: String,
pub period_end: String,
pub total_revenue: f64,
pub total_expenses: f64,
pub net_income: f64,
}Fields§
§period_start: String§period_end: String§total_revenue: f64§total_expenses: f64§net_income: f64Trait Implementations§
Source§impl Clone for IncomeStatementOutput
impl Clone for IncomeStatementOutput
Source§fn clone(&self) -> IncomeStatementOutput
fn clone(&self) -> IncomeStatementOutput
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<'de> Deserialize<'de> for IncomeStatementOutput
impl<'de> Deserialize<'de> for IncomeStatementOutput
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<IncomeStatement> for IncomeStatementOutput
impl From<IncomeStatement> for IncomeStatementOutput
Source§fn from(i: IncomeStatement) -> Self
fn from(i: IncomeStatement) -> Self
Converts to this type from the input type.
Source§impl FromNapiValue for IncomeStatementOutput
impl FromNapiValue for IncomeStatementOutput
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 IncomeStatementOutput
impl Serialize for IncomeStatementOutput
Source§impl ToNapiValue for IncomeStatementOutput
impl ToNapiValue for IncomeStatementOutput
Source§unsafe fn to_napi_value(
env: napi_env,
val: IncomeStatementOutput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: IncomeStatementOutput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for IncomeStatementOutput
impl TypeName for IncomeStatementOutput
Source§impl ValidateNapiValue for IncomeStatementOutput
impl ValidateNapiValue for IncomeStatementOutput
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 IncomeStatementOutput
impl RefUnwindSafe for IncomeStatementOutput
impl Send for IncomeStatementOutput
impl Sync for IncomeStatementOutput
impl Unpin for IncomeStatementOutput
impl UnsafeUnpin for IncomeStatementOutput
impl UnwindSafe for IncomeStatementOutput
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