pub struct VendorAndPurchasesPrefs {
pub po_custom_field: Option<String>,
pub default_markup_account: Option<NtRef>,
pub tracking_by_customer: Option<bool>,
pub default_terms: Option<NtRef>,
pub billable_expense_tracking: Option<bool>,
pub default_markup: Option<f64>,
pub tpar_enabled: Option<bool>,
}Expand description
Vendor and Purchases Preferences
Represents the preferences related to vendors and purchases.
Fields§
§po_custom_field: Option<String>Custom field for purchase orders
default_markup_account: Option<NtRef>Reference to the default markup account
tracking_by_customer: Option<bool>Indicates if tracking by customer is enabled
default_terms: Option<NtRef>Reference to the default terms
billable_expense_tracking: Option<bool>Indicates if billable expense tracking is enabled
default_markup: Option<f64>Default markup value
tpar_enabled: Option<bool>Indicates if TPAR (Taxable Payments Annual Report) is enabled
Trait Implementations§
Source§impl Clone for VendorAndPurchasesPrefs
impl Clone for VendorAndPurchasesPrefs
Source§fn clone(&self) -> VendorAndPurchasesPrefs
fn clone(&self) -> VendorAndPurchasesPrefs
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 Debug for VendorAndPurchasesPrefs
impl Debug for VendorAndPurchasesPrefs
Source§impl Default for VendorAndPurchasesPrefs
impl Default for VendorAndPurchasesPrefs
Source§fn default() -> VendorAndPurchasesPrefs
fn default() -> VendorAndPurchasesPrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for VendorAndPurchasesPrefswhere
VendorAndPurchasesPrefs: Default,
impl<'de> Deserialize<'de> for VendorAndPurchasesPrefswhere
VendorAndPurchasesPrefs: Default,
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 PartialEq for VendorAndPurchasesPrefs
impl PartialEq for VendorAndPurchasesPrefs
Source§impl Serialize for VendorAndPurchasesPrefs
impl Serialize for VendorAndPurchasesPrefs
impl StructuralPartialEq for VendorAndPurchasesPrefs
Auto Trait Implementations§
impl Freeze for VendorAndPurchasesPrefs
impl RefUnwindSafe for VendorAndPurchasesPrefs
impl Send for VendorAndPurchasesPrefs
impl Sync for VendorAndPurchasesPrefs
impl Unpin for VendorAndPurchasesPrefs
impl UnwindSafe for VendorAndPurchasesPrefs
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