pub struct Plan {
pub id: String,
pub name: String,
pub price: i64,
pub currency: String,
pub frequency: String,
pub is_subscribed: bool,
pub can_subscribe: bool,
pub legacy_id: String,
pub legacy_discount: bool,
pub externally_managed: bool,
}Fields§
§id: String§name: String§price: i64§currency: String§frequency: String§is_subscribed: bool§can_subscribe: bool§legacy_id: String§legacy_discount: bool§externally_managed: boolTrait Implementations§
Source§impl<'de> Deserialize<'de> for Plan
impl<'de> Deserialize<'de> for Plan
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 Plan
impl RefUnwindSafe for Plan
impl Send for Plan
impl Sync for Plan
impl Unpin for Plan
impl UnsafeUnpin for Plan
impl UnwindSafe for Plan
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