pub struct FixedChargeQuote {
pub amount: String,
pub currency: String,
pub current_period_end: String,
}Fields§
§amount: StringDecimal amount in the plan currency. Kept as text so sub-cent unit prices remain exact.
currency: String§current_period_end: StringISO 8601.
Implementations§
Source§impl FixedChargeQuote
impl FixedChargeQuote
pub fn serialize<__S>(
__self: &FixedChargeQuote,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> FixedChargeQuote
impl<'de> FixedChargeQuote
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<FixedChargeQuote, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for FixedChargeQuote
impl Clone for FixedChargeQuote
Source§impl Debug for FixedChargeQuote
impl Debug for FixedChargeQuote
Source§impl<'de> Deserialize<'de> for FixedChargeQuote
impl<'de> Deserialize<'de> for FixedChargeQuote
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 FixedChargeQuote
impl RefUnwindSafe for FixedChargeQuote
impl Send for FixedChargeQuote
impl Sync for FixedChargeQuote
impl Unpin for FixedChargeQuote
impl UnsafeUnpin for FixedChargeQuote
impl UnwindSafe for FixedChargeQuote
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