pub struct BillingPreviewCredit {
pub amount_cents: i64,
pub code: String,
pub name: String,
pub period_end: Option<String>,
pub period_start: Option<String>,
}Fields§
§amount_cents: i64§code: StringThe replaced plan’s code.
name: StringThe replaced plan’s name.
period_end: Option<String>The end of the period the plan was paid for.
period_start: Option<String>When the change is made.
Implementations§
Source§impl BillingPreviewCredit
impl BillingPreviewCredit
pub fn serialize<__S>(
__self: &BillingPreviewCredit,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> BillingPreviewCredit
impl<'de> BillingPreviewCredit
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillingPreviewCredit, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for BillingPreviewCredit
impl Clone for BillingPreviewCredit
Source§impl Debug for BillingPreviewCredit
impl Debug for BillingPreviewCredit
Source§impl<'de> Deserialize<'de> for BillingPreviewCredit
impl<'de> Deserialize<'de> for BillingPreviewCredit
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 BillingPreviewCredit
impl RefUnwindSafe for BillingPreviewCredit
impl Send for BillingPreviewCredit
impl Sync for BillingPreviewCredit
impl Unpin for BillingPreviewCredit
impl UnsafeUnpin for BillingPreviewCredit
impl UnwindSafe for BillingPreviewCredit
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