pub struct ExposureLedgerReceiptEntry {Show 17 fields
pub receipt_id: String,
pub timestamp: u64,
pub capability_id: String,
pub subject_key: Option<String>,
pub issuer_key: Option<String>,
pub tool_server: String,
pub tool_name: String,
pub decision: Decision,
pub settlement_status: SettlementStatus,
pub action_required: bool,
pub governed_max_amount: Option<MonetaryAmount>,
pub financial_amount: Option<MonetaryAmount>,
pub reserve_required_amount: Option<MonetaryAmount>,
pub provisional_loss_amount: Option<MonetaryAmount>,
pub recovered_amount: Option<MonetaryAmount>,
pub metered_action_required: bool,
pub evidence_refs: Vec<ExposureLedgerEvidenceReference>,
}Fields§
§receipt_id: String§timestamp: u64§capability_id: String§subject_key: Option<String>§issuer_key: Option<String>§tool_server: String§tool_name: String§decision: Decision§settlement_status: SettlementStatus§action_required: bool§governed_max_amount: Option<MonetaryAmount>§financial_amount: Option<MonetaryAmount>§reserve_required_amount: Option<MonetaryAmount>§provisional_loss_amount: Option<MonetaryAmount>§recovered_amount: Option<MonetaryAmount>§metered_action_required: bool§evidence_refs: Vec<ExposureLedgerEvidenceReference>Trait Implementations§
Source§impl Clone for ExposureLedgerReceiptEntry
impl Clone for ExposureLedgerReceiptEntry
Source§fn clone(&self) -> ExposureLedgerReceiptEntry
fn clone(&self) -> ExposureLedgerReceiptEntry
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 Debug for ExposureLedgerReceiptEntry
impl Debug for ExposureLedgerReceiptEntry
Source§impl<'de> Deserialize<'de> for ExposureLedgerReceiptEntry
impl<'de> Deserialize<'de> for ExposureLedgerReceiptEntry
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExposureLedgerReceiptEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExposureLedgerReceiptEntry, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExposureLedgerReceiptEntry
impl Serialize for ExposureLedgerReceiptEntry
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 StructuralPartialEq for ExposureLedgerReceiptEntry
Auto Trait Implementations§
impl Freeze for ExposureLedgerReceiptEntry
impl RefUnwindSafe for ExposureLedgerReceiptEntry
impl Send for ExposureLedgerReceiptEntry
impl Sync for ExposureLedgerReceiptEntry
impl Unpin for ExposureLedgerReceiptEntry
impl UnsafeUnpin for ExposureLedgerReceiptEntry
impl UnwindSafe for ExposureLedgerReceiptEntry
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