pub struct AttestResponse {
pub proof: String,
pub public_values: String,
pub vk_hash: String,
pub verified_output: Value,
}Expand description
Response from the attester service
Fields§
§proof: StringHex-encoded Groth16 proof for on-chain verification
public_values: StringPublic values committed by the zkVM program (hex-encoded)
vk_hash: StringVK hash for on-chain verifier (bytes32)
verified_output: ValueOutput from the zkVM program
Trait Implementations§
Source§impl Clone for AttestResponse
impl Clone for AttestResponse
Source§fn clone(&self) -> AttestResponse
fn clone(&self) -> AttestResponse
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 moreSource§impl Debug for AttestResponse
impl Debug for AttestResponse
Source§impl<'de> Deserialize<'de> for AttestResponse
impl<'de> Deserialize<'de> for AttestResponse
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
Auto Trait Implementations§
impl Freeze for AttestResponse
impl RefUnwindSafe for AttestResponse
impl Send for AttestResponse
impl Sync for AttestResponse
impl Unpin for AttestResponse
impl UnsafeUnpin for AttestResponse
impl UnwindSafe for AttestResponse
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