pub struct SubscriptionNextCyclePlan {
pub amount: i64,
pub billing_day: Option<i64>,
pub created: i64,
pub currency: String,
pub id: SubscriptionId,
pub interval: SubscriptionNextCyclePlanInterval,
pub livemode: bool,
pub metadata: Option<Value>,
pub name: String,
pub object: String,
pub trial_days: u32,
}Fields§
§amount: i64プランの料金
billing_day: Option<i64>課金日。1から31の整数で指定可能。nullの場合は課金日を指定しない。
created: i64プラン作成時のタイムスタンプ
currency: String3文字のISOコード(現状 “jpy” のみサポート)
id: SubscriptionIdpln_で始まる一意なオブジェクトを示す文字列
interval: SubscriptionNextCyclePlanInterval課金の間隔。day, week, month, year のいずれか。
livemode: bool本番環境かどうか
metadata: Option<Value>キーバリューの任意データ
name: Stringプラン名
object: String“plan“の固定文字列
trial_days: u32トライアル期間の日数
Trait Implementations§
Source§impl Clone for SubscriptionNextCyclePlan
impl Clone for SubscriptionNextCyclePlan
Source§fn clone(&self) -> SubscriptionNextCyclePlan
fn clone(&self) -> SubscriptionNextCyclePlan
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 SubscriptionNextCyclePlan
impl Debug for SubscriptionNextCyclePlan
Source§impl FromValueOpt for SubscriptionNextCyclePlan
impl FromValueOpt for SubscriptionNextCyclePlan
fn from_value(v: Value) -> Option<Self>
Auto Trait Implementations§
impl Freeze for SubscriptionNextCyclePlan
impl RefUnwindSafe for SubscriptionNextCyclePlan
impl Send for SubscriptionNextCyclePlan
impl Sync for SubscriptionNextCyclePlan
impl Unpin for SubscriptionNextCyclePlan
impl UnwindSafe for SubscriptionNextCyclePlan
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