pub struct CreateBillingMeterCustomerMapping {
pub event_payload_key: String,
pub type_: CreateBillingMeterCustomerMappingType,
}
Expand description
Fields that specify how to map a meter event to a customer.
Fields§
§event_payload_key: String
The key in the meter event payload to use for mapping the event to a customer.
type_: CreateBillingMeterCustomerMappingType
The method for mapping a meter event to a customer. Must be by_id
.
Implementations§
Trait Implementations§
Source§impl Clone for CreateBillingMeterCustomerMapping
impl Clone for CreateBillingMeterCustomerMapping
Source§fn clone(&self) -> CreateBillingMeterCustomerMapping
fn clone(&self) -> CreateBillingMeterCustomerMapping
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 CreateBillingMeterCustomerMapping
impl RefUnwindSafe for CreateBillingMeterCustomerMapping
impl Send for CreateBillingMeterCustomerMapping
impl Sync for CreateBillingMeterCustomerMapping
impl Unpin for CreateBillingMeterCustomerMapping
impl UnwindSafe for CreateBillingMeterCustomerMapping
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