pub struct MeteredBillingReceiptMetadata {
pub settlement_mode: MeteredSettlementMode,
pub quote: MeteredBillingQuote,
pub max_billed_units: Option<u64>,
pub usage_evidence: Option<MeteredUsageEvidenceReceiptMetadata>,
}Expand description
Metered-billing quote and evidence context preserved on governed receipts.
Fields§
§settlement_mode: MeteredSettlementModeSettlement posture attached to the governed request.
quote: MeteredBillingQuotePre-execution metered quote bound into the governed intent.
max_billed_units: Option<u64>Optional explicit upper bound on billable units for the request.
usage_evidence: Option<MeteredUsageEvidenceReceiptMetadata>Optional post-execution usage evidence preserved separately from receipt truth.
Trait Implementations§
Source§impl Clone for MeteredBillingReceiptMetadata
impl Clone for MeteredBillingReceiptMetadata
Source§fn clone(&self) -> MeteredBillingReceiptMetadata
fn clone(&self) -> MeteredBillingReceiptMetadata
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 moreSource§impl<'de> Deserialize<'de> for MeteredBillingReceiptMetadata
impl<'de> Deserialize<'de> for MeteredBillingReceiptMetadata
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<MeteredBillingReceiptMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<MeteredBillingReceiptMetadata, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MeteredBillingReceiptMetadata
impl PartialEq for MeteredBillingReceiptMetadata
Source§fn eq(&self, other: &MeteredBillingReceiptMetadata) -> bool
fn eq(&self, other: &MeteredBillingReceiptMetadata) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for MeteredBillingReceiptMetadata
impl Serialize for MeteredBillingReceiptMetadata
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl Eq for MeteredBillingReceiptMetadata
impl StructuralPartialEq for MeteredBillingReceiptMetadata
Auto Trait Implementations§
impl Freeze for MeteredBillingReceiptMetadata
impl RefUnwindSafe for MeteredBillingReceiptMetadata
impl Send for MeteredBillingReceiptMetadata
impl Sync for MeteredBillingReceiptMetadata
impl Unpin for MeteredBillingReceiptMetadata
impl UnsafeUnpin for MeteredBillingReceiptMetadata
impl UnwindSafe for MeteredBillingReceiptMetadata
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