Struct quickbooks::Item[][src]

pub struct Item {
Show fields pub name: String, pub active: bool, pub fully_qualified_name: String, pub taxable: bool, pub unit_price: f32, pub item_type: String, pub purchase_cost: f32, pub expense_account_ref: NtRef, pub track_qty_on_hand: bool, pub domain: String, pub sparse: bool, pub id: String, pub sync_token: String, pub meta_data: MetaData, pub sub_item: bool, pub parent_ref: NtRef, pub level: i64, pub income_account_ref: NtRef, pub asset_account_ref: NtRef, pub qty_on_hand: i64, pub inv_start_date: String, pub description: String, pub purchase_desc: String,
}

Fields

name: Stringactive: boolfully_qualified_name: Stringtaxable: boolunit_price: f32item_type: Stringpurchase_cost: f32expense_account_ref: NtReftrack_qty_on_hand: booldomain: Stringsparse: boolid: Stringsync_token: Stringmeta_data: MetaDatasub_item: boolparent_ref: NtReflevel: i64income_account_ref: NtRefasset_account_ref: NtRefqty_on_hand: i64inv_start_date: Stringdescription: Stringpurchase_desc: String

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Deserialize this value from the given Serde deserializer. Read more

The name of the generated JSON Schema. Read more

Generates a JSON Schema for this type. Read more

Whether JSON Schemas generated for this type should be re-used where possible using the $ref keyword. Read more

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.