pub struct SubscriptionFee {
pub id: i64,
pub channel_name: String,
pub month: String,
pub monthly_price: f64,
pub currency: String,
}Expand description
A monthly subscription fee for a flat-fee channel.
Fields§
§id: i64Auto-increment primary key.
channel_name: StringChannel display name.
month: StringMonth in “YYYY-MM” format.
monthly_price: f64Monthly subscription price.
currency: StringCurrency code (e.g. “USD”).
Trait Implementations§
Source§impl Clone for SubscriptionFee
impl Clone for SubscriptionFee
Source§fn clone(&self) -> SubscriptionFee
fn clone(&self) -> SubscriptionFee
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SubscriptionFee
impl Debug for SubscriptionFee
Source§impl<'de> Deserialize<'de> for SubscriptionFee
impl<'de> Deserialize<'de> for SubscriptionFee
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 SubscriptionFee
impl RefUnwindSafe for SubscriptionFee
impl Send for SubscriptionFee
impl Sync for SubscriptionFee
impl Unpin for SubscriptionFee
impl UnsafeUnpin for SubscriptionFee
impl UnwindSafe for SubscriptionFee
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