pub struct CreateBillingMeterValueSettings {
pub event_payload_key: String,
}
Expand description
Fields that specify how to calculate a meter event’s value.
Fields§
§event_payload_key: String
The key in the usage event payload to use as the value for this meter.
For example, if the event payload contains usage on a bytes_used
field, then set the event_payload_key to “bytes_used”.
Implementations§
Trait Implementations§
Source§impl Clone for CreateBillingMeterValueSettings
impl Clone for CreateBillingMeterValueSettings
Source§fn clone(&self) -> CreateBillingMeterValueSettings
fn clone(&self) -> CreateBillingMeterValueSettings
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 CreateBillingMeterValueSettings
impl RefUnwindSafe for CreateBillingMeterValueSettings
impl Send for CreateBillingMeterValueSettings
impl Sync for CreateBillingMeterValueSettings
impl Unpin for CreateBillingMeterValueSettings
impl UnwindSafe for CreateBillingMeterValueSettings
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