pub struct MemberDisposition {
pub member: String,
pub task_id: String,
pub settlement: MemberSettlement,
pub result: Option<PayloadRef>,
pub error_class: Option<ErrorClass>,
pub error: Option<String>,
pub tokens: Option<Usage>,
pub cost_usd: Option<f64>,
}Expand description
One member’s terminal evidence inside a settled coordination (R0.7 wave 3). Derived from the member’s durable task record — never from an in-memory observation — so a server restart recomputes the same disposition from the same store.
Fields§
§member: StringThe member name from the contract.
task_id: StringThe member’s deterministic task id — the correlation key into the
task queue’s own evidence (and the DLQ, when Dead).
settlement: MemberSettlementHow the member settled.
result: Option<PayloadRef>The member’s result, when it completed.
error_class: Option<ErrorClass>The failure’s error class, when it failed or died.
error: Option<String>The failure’s message, when it failed or died.
tokens: Option<Usage>The token usage the member reported on settlement, when any.
cost_usd: Option<f64>The cost the member reported on settlement, when any.
Trait Implementations§
Source§impl Clone for MemberDisposition
impl Clone for MemberDisposition
Source§fn clone(&self) -> MemberDisposition
fn clone(&self) -> MemberDisposition
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 MemberDisposition
impl Debug for MemberDisposition
Source§impl<'de> Deserialize<'de> for MemberDisposition
impl<'de> Deserialize<'de> for MemberDisposition
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MemberDisposition
impl PartialEq for MemberDisposition
Source§impl Serialize for MemberDisposition
impl Serialize for MemberDisposition
impl StructuralPartialEq for MemberDisposition
Auto Trait Implementations§
impl Freeze for MemberDisposition
impl RefUnwindSafe for MemberDisposition
impl Send for MemberDisposition
impl Sync for MemberDisposition
impl Unpin for MemberDisposition
impl UnsafeUnpin for MemberDisposition
impl UnwindSafe for MemberDisposition
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