pub struct CreateBillInput {
pub supplier_id: String,
pub due_date: String,
pub payment_terms: Option<String>,
pub reference_number: Option<String>,
pub notes: Option<String>,
}Fields§
§supplier_id: String§due_date: String§payment_terms: Option<String>§reference_number: Option<String>§notes: Option<String>Trait Implementations§
Source§impl Clone for CreateBillInput
impl Clone for CreateBillInput
Source§fn clone(&self) -> CreateBillInput
fn clone(&self) -> CreateBillInput
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 CreateBillInput
impl<'de> Deserialize<'de> for CreateBillInput
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 FromNapiValue for CreateBillInput
impl FromNapiValue for CreateBillInput
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 CreateBillInput
impl Serialize for CreateBillInput
Source§impl ToNapiValue for CreateBillInput
impl ToNapiValue for CreateBillInput
Source§unsafe fn to_napi_value(
env: napi_env,
val: CreateBillInput,
) -> Result<napi_value>
unsafe fn to_napi_value( env: napi_env, val: CreateBillInput, ) -> Result<napi_value>
Safety Read more
Source§impl TypeName for CreateBillInput
impl TypeName for CreateBillInput
Source§impl ValidateNapiValue for CreateBillInput
impl ValidateNapiValue for CreateBillInput
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 CreateBillInput
impl RefUnwindSafe for CreateBillInput
impl Send for CreateBillInput
impl Sync for CreateBillInput
impl Unpin for CreateBillInput
impl UnsafeUnpin for CreateBillInput
impl UnwindSafe for CreateBillInput
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