pub struct GetEffectiveTermsResponse {
pub credit_balance: Option<CreditBalance>,
pub subscriptions: Vec<SubscriptionTerms>,
pub time_zone: String,
}Fields§
§credit_balance: Option<CreditBalance>Credit the paying organization holds on credit notes, such as the unused time of a plan an upgrade replaced. It offsets that organization’s next invoices of any kind except one-off invoices. Prepaid wallet credit is separate. Null when it holds none.
subscriptions: Vec<SubscriptionTerms>One entry per category the project holds, by category. Empty means it holds none.
time_zone: StringThe IANA time zone the payer is billed in, e.g. America/Los_Angeles. Billing periods start and end at its midnights, so read their calendar dates in it.
Implementations§
Source§impl GetEffectiveTermsResponse
impl GetEffectiveTermsResponse
pub fn serialize<__S>(
__self: &GetEffectiveTermsResponse,
__serializer: __S,
) -> Result<__S::Ok, __S::Error>where
__S: Serializer,
Source§impl<'de> GetEffectiveTermsResponse
impl<'de> GetEffectiveTermsResponse
pub fn deserialize<__D>(
__deserializer: __D,
) -> Result<GetEffectiveTermsResponse, __D::Error>where
__D: Deserializer<'de>,
Trait Implementations§
Source§impl Clone for GetEffectiveTermsResponse
impl Clone for GetEffectiveTermsResponse
Source§impl Debug for GetEffectiveTermsResponse
impl Debug for GetEffectiveTermsResponse
Source§impl<'de> Deserialize<'de> for GetEffectiveTermsResponse
impl<'de> Deserialize<'de> for GetEffectiveTermsResponse
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 GetEffectiveTermsResponse
impl RefUnwindSafe for GetEffectiveTermsResponse
impl Send for GetEffectiveTermsResponse
impl Sync for GetEffectiveTermsResponse
impl Unpin for GetEffectiveTermsResponse
impl UnsafeUnpin for GetEffectiveTermsResponse
impl UnwindSafe for GetEffectiveTermsResponse
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