pub struct FunctionResultV1 {
pub quote: Vec<u8>,
pub signer: Vec<u8>,
pub signature: Vec<u8>,
pub chain_result_info: ChainResultInfo,
pub error_code: u8,
}
Expand description
The schema of the output data that will be sent to the quote verification sidecar.
Fields§
§quote: Vec<u8>
Buffer containing the quote signing the output
signer: Vec<u8>
The enclave generated signer’s pubkey. This is used to verify the quote
signature: Vec<u8>
The signature of the chain_result_info signed by the enclave generated signer.
chain_result_info: ChainResultInfo
Chain specific info
error_code: u8
On function failure, users should emit with error code to avoid aggressive backoffs
Trait Implementations§
source§impl Clone for FunctionResultV1
impl Clone for FunctionResultV1
source§fn clone(&self) -> FunctionResultV1
fn clone(&self) -> FunctionResultV1
Returns a copy 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 FunctionResultV1
impl Debug for FunctionResultV1
source§impl Default for FunctionResultV1
impl Default for FunctionResultV1
source§fn default() -> FunctionResultV1
fn default() -> FunctionResultV1
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FunctionResultV1
impl<'de> Deserialize<'de> for FunctionResultV1
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 FunctionResultV1
impl PartialEq for FunctionResultV1
source§fn eq(&self, other: &FunctionResultV1) -> bool
fn eq(&self, other: &FunctionResultV1) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for FunctionResultV1
impl Serialize for FunctionResultV1
impl StructuralPartialEq for FunctionResultV1
Auto Trait Implementations§
impl RefUnwindSafe for FunctionResultV1
impl Send for FunctionResultV1
impl Sync for FunctionResultV1
impl Unpin for FunctionResultV1
impl UnwindSafe for FunctionResultV1
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