pub struct HostHandoffDeclaration {
pub id: IdempotencyKey,
pub step_id: StepId,
pub claim_fence: StepClaimFence,
pub owner: LeaseOwnerId,
pub incarnation: HostAgentIncarnation,
pub state: HostWorkState,
pub observed_at: OffsetDateTime,
pub evidence: EvidenceReference,
}Expand description
Evidence supplied by an authenticated host about one exact accepted producer. Incarnation is the host’s stable worker/task invocation identity, not a new fence.
Fields§
§id: IdempotencyKey§step_id: StepId§claim_fence: StepClaimFence§owner: LeaseOwnerId§incarnation: HostAgentIncarnation§state: HostWorkState§observed_at: OffsetDateTime§evidence: EvidenceReferenceImplementations§
Source§impl HostHandoffDeclaration
impl HostHandoffDeclaration
pub fn validate(&self) -> Result<(), DomainError>
Trait Implementations§
Source§impl Clone for HostHandoffDeclaration
impl Clone for HostHandoffDeclaration
Source§impl Debug for HostHandoffDeclaration
impl Debug for HostHandoffDeclaration
Source§impl<'de> Deserialize<'de> for HostHandoffDeclaration
impl<'de> Deserialize<'de> for HostHandoffDeclaration
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
impl Eq for HostHandoffDeclaration
Source§impl PartialEq for HostHandoffDeclaration
impl PartialEq for HostHandoffDeclaration
Source§impl Serialize for HostHandoffDeclaration
impl Serialize for HostHandoffDeclaration
impl StructuralPartialEq for HostHandoffDeclaration
Auto Trait Implementations§
impl Freeze for HostHandoffDeclaration
impl RefUnwindSafe for HostHandoffDeclaration
impl Send for HostHandoffDeclaration
impl Sync for HostHandoffDeclaration
impl Unpin for HostHandoffDeclaration
impl UnsafeUnpin for HostHandoffDeclaration
impl UnwindSafe for HostHandoffDeclaration
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