pub struct V2ReleaseRecord {
pub claim_id: String,
pub entry_hash: Vec<u8>,
pub ack_timestamp: i64,
pub outcome: V2ReleaseStatus,
pub reason: String,
}Expand description
The durable release record of SPEC-v2 §6.9: the release of step 9
(outcome released, reason empty) or a withheld result of steps 7 and
8 (outcome withheld, reason clock_regressed, challenge_expired, or
allow_horizon_passed). entry_hash and ack_timestamp name the
verified receipt entry and its acknowledgement. The first record for a
claim wins; a claim store returns V2StoreError::ReleaseStateMismatch
for any different later record and must persist and return every field
unchanged.
Fields§
§claim_id: String§entry_hash: Vec<u8>§ack_timestamp: i64§outcome: V2ReleaseStatus§reason: StringTrait Implementations§
Source§impl Clone for V2ReleaseRecord
impl Clone for V2ReleaseRecord
Source§impl Debug for V2ReleaseRecord
impl Debug for V2ReleaseRecord
impl Eq for V2ReleaseRecord
Source§impl PartialEq for V2ReleaseRecord
impl PartialEq for V2ReleaseRecord
impl StructuralPartialEq for V2ReleaseRecord
Auto Trait Implementations§
impl Forget for V2ReleaseRecord
impl Freeze for V2ReleaseRecord
impl RefUnwindSafe for V2ReleaseRecord
impl Send for V2ReleaseRecord
impl Sync for V2ReleaseRecord
impl Unpin for V2ReleaseRecord
impl UnsafeUnpin for V2ReleaseRecord
impl UnwindSafe for V2ReleaseRecord
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