pub struct ProductAndServicesPrefs {
pub revenue_recognition_enabled: Option<bool>,
pub recognition_frequency_type: Option<String>,
pub for_sales: Option<bool>,
pub quantity_on_hand: Option<bool>,
pub quantity_with_price_and_rate: Option<bool>,
pub for_purchase: Option<bool>,
}Expand description
Product and Services Preferences
Fields§
§revenue_recognition_enabled: Option<bool>§recognition_frequency_type: Option<String>§for_sales: Option<bool>§quantity_on_hand: Option<bool>§quantity_with_price_and_rate: Option<bool>§for_purchase: Option<bool>Trait Implementations§
Source§impl Clone for ProductAndServicesPrefs
impl Clone for ProductAndServicesPrefs
Source§fn clone(&self) -> ProductAndServicesPrefs
fn clone(&self) -> ProductAndServicesPrefs
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 ProductAndServicesPrefs
impl Debug for ProductAndServicesPrefs
Source§impl Default for ProductAndServicesPrefs
impl Default for ProductAndServicesPrefs
Source§fn default() -> ProductAndServicesPrefs
fn default() -> ProductAndServicesPrefs
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ProductAndServicesPrefswhere
ProductAndServicesPrefs: Default,
impl<'de> Deserialize<'de> for ProductAndServicesPrefswhere
ProductAndServicesPrefs: 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 ProductAndServicesPrefs
impl PartialEq for ProductAndServicesPrefs
Source§impl Serialize for ProductAndServicesPrefs
impl Serialize for ProductAndServicesPrefs
impl StructuralPartialEq for ProductAndServicesPrefs
Auto Trait Implementations§
impl Freeze for ProductAndServicesPrefs
impl RefUnwindSafe for ProductAndServicesPrefs
impl Send for ProductAndServicesPrefs
impl Sync for ProductAndServicesPrefs
impl Unpin for ProductAndServicesPrefs
impl UnwindSafe for ProductAndServicesPrefs
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