pub struct PlanFeature {
pub code: String,
pub name: String,
pub feature_type: FeatureType,
pub numeric_value: Option<i64>,
pub unit_label: Option<String>,
}Expand description
A single feature attached to a subscription plan.
Fields§
§code: String§name: String§feature_type: FeatureType§numeric_value: Option<i64>§unit_label: Option<String>Trait Implementations§
Source§impl Clone for PlanFeature
impl Clone for PlanFeature
Source§fn clone(&self) -> PlanFeature
fn clone(&self) -> PlanFeature
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 PlanFeature
impl Debug for PlanFeature
Source§impl<'de> Deserialize<'de> for PlanFeature
impl<'de> Deserialize<'de> for PlanFeature
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 PlanFeature
impl RefUnwindSafe for PlanFeature
impl Send for PlanFeature
impl Sync for PlanFeature
impl Unpin for PlanFeature
impl UnsafeUnpin for PlanFeature
impl UnwindSafe for PlanFeature
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