pub struct BillingPreviewDeferred {
pub currency: String,
pub lines: Vec<BillingPreviewLine>,
pub total_cents: i64,
}Expand description
Billed later rather than with dueNow: one line per plan change addition, billed when it is added and priced as if added now. Before taxes; the balance left after dueNow applies to it first. nextCharge already includes it. No lines when nothing is billed later.
Fields§
§currency: String§lines: Vec<BillingPreviewLine>§total_cents: i64Sum of the lines, in cents.
Implementations§
Source§impl BillingPreviewDeferred
impl BillingPreviewDeferred
pub fn serialize<__S>(
__self: &BillingPreviewDeferred,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> BillingPreviewDeferred
impl<'de> BillingPreviewDeferred
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<BillingPreviewDeferred, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for BillingPreviewDeferred
impl Clone for BillingPreviewDeferred
Source§impl Debug for BillingPreviewDeferred
impl Debug for BillingPreviewDeferred
Source§impl<'de> Deserialize<'de> for BillingPreviewDeferred
impl<'de> Deserialize<'de> for BillingPreviewDeferred
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 BillingPreviewDeferred
impl RefUnwindSafe for BillingPreviewDeferred
impl Send for BillingPreviewDeferred
impl Sync for BillingPreviewDeferred
impl Unpin for BillingPreviewDeferred
impl UnsafeUnpin for BillingPreviewDeferred
impl UnwindSafe for BillingPreviewDeferred
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