pub struct ProductItem {
pub feature: Feature,
pub feature_id: String,
pub feature_type: String,
pub included_usage: Option<f64>,
pub interval: Option<String>,
pub interval_count: Option<u32>,
pub reset_usage_when_enabled: Option<bool>,
pub type_: Option<String>,
}Fields§
§feature: Feature§feature_id: String§feature_type: String§included_usage: Option<f64>§interval: Option<String>§interval_count: Option<u32>§reset_usage_when_enabled: Option<bool>§type_: Option<String>Trait Implementations§
Source§impl Clone for ProductItem
impl Clone for ProductItem
Source§fn clone(&self) -> ProductItem
fn clone(&self) -> ProductItem
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 ProductItem
impl Debug for ProductItem
Source§impl<'de> Deserialize<'de> for ProductItem
impl<'de> Deserialize<'de> for ProductItem
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
Auto Trait Implementations§
impl Freeze for ProductItem
impl RefUnwindSafe for ProductItem
impl Send for ProductItem
impl Sync for ProductItem
impl Unpin for ProductItem
impl UnwindSafe for ProductItem
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