pub struct TaskCheckpoint {
pub checkpoint_id: String,
pub task_id: String,
pub sequence: u64,
pub state_hash: String,
pub created_at: String,
pub signature: String,
pub public_key: String,
}Expand description
A checkpoint of task state for verification.
Checkpoints are signed snapshots that can be used to verify task state integrity at a specific point in time.
Fields§
§checkpoint_id: StringUnique checkpoint identifier.
task_id: StringTask ID this checkpoint belongs to.
sequence: u64Sequence number in the state chain at checkpoint time.
state_hash: StringHash of the state chain at checkpoint time.
created_at: StringISO 8601 timestamp of checkpoint creation.
signature: StringEd25519 signature of the checkpoint (hex-encoded).
public_key: StringPublic key used to sign (hex-encoded).
Implementations§
Trait Implementations§
Source§impl Clone for TaskCheckpoint
impl Clone for TaskCheckpoint
Source§impl Debug for TaskCheckpoint
SECURITY (FIND-R53-001): Custom Debug redacts signature and public_key
to prevent secret leakage in logs/debug output.
impl Debug for TaskCheckpoint
SECURITY (FIND-R53-001): Custom Debug redacts signature and public_key
to prevent secret leakage in logs/debug output.
Source§impl<'de> Deserialize<'de> for TaskCheckpoint
impl<'de> Deserialize<'de> for TaskCheckpoint
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 TaskCheckpoint
impl PartialEq for TaskCheckpoint
Source§impl Serialize for TaskCheckpoint
impl Serialize for TaskCheckpoint
impl StructuralPartialEq for TaskCheckpoint
Auto Trait Implementations§
impl Forget for TaskCheckpoint
impl Freeze for TaskCheckpoint
impl Move for TaskCheckpoint
impl RefUnwindSafe for TaskCheckpoint
impl Send for TaskCheckpoint
impl Sync for TaskCheckpoint
impl Unpin for TaskCheckpoint
impl UnsafeUnpin for TaskCheckpoint
impl UnwindSafe for TaskCheckpoint
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