pub struct ExecutionLedgerEntryV1 {
pub task_id: String,
pub legacy_receipt: Option<LegacyReceiptProjectionV1>,
pub legacy_estimated_actual_cost_micros: Option<u64>,
pub legacy_estimated_baseline_cost_micros: Option<u64>,
pub predicted_cost_micros: Option<u64>,
pub actual_etpao: Option<f64>,
pub baseline_etpao: Option<f64>,
pub predicted_etpao: Option<f64>,
}Expand description
Compatibility view consumed by the existing ledger execution CLI.
The event store remains the source of truth; this view groups the current task projection without introducing a second writable ledger format. Legacy receipt evidence and its estimates remain explicitly named and never occupy canonical receipt or accepted-cost fields.
Fields§
§task_id: String§legacy_receipt: Option<LegacyReceiptProjectionV1>§legacy_estimated_actual_cost_micros: Option<u64>§legacy_estimated_baseline_cost_micros: Option<u64>§predicted_cost_micros: Option<u64>§actual_etpao: Option<f64>§baseline_etpao: Option<f64>§predicted_etpao: Option<f64>Trait Implementations§
Source§impl Clone for ExecutionLedgerEntryV1
impl Clone for ExecutionLedgerEntryV1
Source§fn clone(&self) -> ExecutionLedgerEntryV1
fn clone(&self) -> ExecutionLedgerEntryV1
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 ExecutionLedgerEntryV1
impl Debug for ExecutionLedgerEntryV1
Source§impl<'de> Deserialize<'de> for ExecutionLedgerEntryV1
impl<'de> Deserialize<'de> for ExecutionLedgerEntryV1
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionLedgerEntryV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<ExecutionLedgerEntryV1, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for ExecutionLedgerEntryV1
impl Serialize for ExecutionLedgerEntryV1
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
Auto Trait Implementations§
impl Forget for ExecutionLedgerEntryV1
impl Freeze for ExecutionLedgerEntryV1where
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
PhantomData<EvidenceRefV1>: Freeze,
PhantomData<CapabilityBindingV1>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for ExecutionLedgerEntryV1
impl RefUnwindSafe for ExecutionLedgerEntryV1
impl Send for ExecutionLedgerEntryV1
impl Sync for ExecutionLedgerEntryV1
impl Unpin for ExecutionLedgerEntryV1
impl UnsafeUnpin for ExecutionLedgerEntryV1where
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<EvidenceRefV1>: UnsafeUnpin,
PhantomData<CapabilityBindingV1>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for ExecutionLedgerEntryV1
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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