pub struct VerifyResult {
pub job_id: String,
pub status: JobStatus,
pub tx_hash: Option<String>,
pub attestation_hash: Option<String>,
pub elapsed_ms: u64,
}Expand description
Returned by VeilClient::verify_inference.
Fields§
§job_id: StringGateway job identifier.
status: JobStatusTerminal status (done or settled).
tx_hash: Option<String>On-chain transaction hash. Present once the proof is settled.
attestation_hash: Option<String>keccak256(modelId ‖ inputHash ‖ outputHash). Populated once the gateway exposes the field (see impl guide §6c).
elapsed_ms: u64Wall-clock milliseconds from job submission to terminal state.
Trait Implementations§
Source§impl Clone for VerifyResult
impl Clone for VerifyResult
Source§fn clone(&self) -> VerifyResult
fn clone(&self) -> VerifyResult
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for VerifyResult
impl RefUnwindSafe for VerifyResult
impl Send for VerifyResult
impl Sync for VerifyResult
impl Unpin for VerifyResult
impl UnsafeUnpin for VerifyResult
impl UnwindSafe for VerifyResult
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