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 (const: unstable) · 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more