pub struct GetCustomerCurrentUsageRequest {
pub external_customer_id: String,
pub external_subscription_id: String,
pub apply_taxes: Option<bool>,
}Expand description
Request parameters for retrieving customer current usage.
This struct contains the identifiers needed to fetch current usage data for a customer’s subscription within the current billing period.
Fields§
§external_customer_id: StringThe customer’s external unique identifier (provided by your application)
external_subscription_id: StringThe subscription’s unique identifier within your application
apply_taxes: Option<bool>Optional flag to determine if taxes should be applied (defaults to true)
Implementations§
Source§impl GetCustomerCurrentUsageRequest
impl GetCustomerCurrentUsageRequest
Trait Implementations§
Source§impl Clone for GetCustomerCurrentUsageRequest
impl Clone for GetCustomerCurrentUsageRequest
Source§fn clone(&self) -> GetCustomerCurrentUsageRequest
fn clone(&self) -> GetCustomerCurrentUsageRequest
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 moreAuto Trait Implementations§
impl Freeze for GetCustomerCurrentUsageRequest
impl RefUnwindSafe for GetCustomerCurrentUsageRequest
impl Send for GetCustomerCurrentUsageRequest
impl Sync for GetCustomerCurrentUsageRequest
impl Unpin for GetCustomerCurrentUsageRequest
impl UnwindSafe for GetCustomerCurrentUsageRequest
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