pub struct BillOutput {
pub id: String,
pub bill_number: String,
pub supplier_id: String,
pub status: String,
pub total_amount: f64,
pub amount_paid: f64,
pub amount_due: f64,
pub due_date: String,
pub created_at: String,
}Fields§
§id: String§bill_number: String§supplier_id: String§status: String§total_amount: f64§amount_paid: f64§amount_due: f64§due_date: String§created_at: StringTrait Implementations§
Source§impl Clone for BillOutput
impl Clone for BillOutput
Source§fn clone(&self) -> BillOutput
fn clone(&self) -> BillOutput
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 BillOutput
impl<'de> Deserialize<'de> for BillOutput
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<Bill> for BillOutput
impl From<Bill> for BillOutput
Source§impl FromNapiValue for BillOutput
impl FromNapiValue for BillOutput
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 BillOutput
impl Serialize for BillOutput
Source§impl ToNapiValue for BillOutput
impl ToNapiValue for BillOutput
Source§unsafe fn to_napi_value(env: napi_env, val: BillOutput) -> Result<napi_value>
unsafe fn to_napi_value(env: napi_env, val: BillOutput) -> Result<napi_value>
Safety Read more
Source§impl TypeName for BillOutput
impl TypeName for BillOutput
Source§impl ValidateNapiValue for BillOutput
impl ValidateNapiValue for BillOutput
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 BillOutput
impl RefUnwindSafe for BillOutput
impl Send for BillOutput
impl Sync for BillOutput
impl Unpin for BillOutput
impl UnsafeUnpin for BillOutput
impl UnwindSafe for BillOutput
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