pub struct UpdateSummaryResult {
pub action: UpdateSummaryResultAction,
pub amount: String,
pub currency_code: CurrencyCode,
}
Expand description
Details of the result of credits and charges. Where the total of any credit adjustments is greater than the total charge, the result is a prorated credit; otherwise, the result is a prorated charge.
Fields§
§action: UpdateSummaryResultAction
Whether the subscription change results in a prorated credit or a charge.
amount: String
Amount representing the result of this update, either a charge or a credit.
currency_code: CurrencyCode
Supported three-letter ISO 4217 currency code.
Trait Implementations§
Source§impl Clone for UpdateSummaryResult
impl Clone for UpdateSummaryResult
Source§fn clone(&self) -> UpdateSummaryResult
fn clone(&self) -> UpdateSummaryResult
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 UpdateSummaryResult
impl Debug for UpdateSummaryResult
Source§impl<'de> Deserialize<'de> for UpdateSummaryResult
impl<'de> Deserialize<'de> for UpdateSummaryResult
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 UpdateSummaryResult
impl RefUnwindSafe for UpdateSummaryResult
impl Send for UpdateSummaryResult
impl Sync for UpdateSummaryResult
impl Unpin for UpdateSummaryResult
impl UnwindSafe for UpdateSummaryResult
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