pub struct FunctionResultV0 {
pub quote: Vec<u8>,
pub fn_key: Vec<u8>,
pub signer: Vec<u8>,
pub fn_request_key: Vec<u8>,
pub fn_request_hash: 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
fn_key: Vec<u8>key of the executed function
signer: Vec<u8>The oracle’s signer used to sign off on the execution
fn_request_key: Vec<u8>If the call was a funciton request, the address of the request account.
fn_request_hash: Vec<u8>A sha-256 hash of the parameters used in this request call.
chain_result_info: ChainResultInfoChain specific info
error_code: u8On function failure, users should emit with error code to avoid aggressive backoffs
Trait Implementations§
source§impl Clone for FunctionResultV0
impl Clone for FunctionResultV0
source§fn clone(&self) -> FunctionResultV0
fn clone(&self) -> FunctionResultV0
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 FunctionResultV0
impl Debug for FunctionResultV0
source§impl Default for FunctionResultV0
impl Default for FunctionResultV0
source§fn default() -> FunctionResultV0
fn default() -> FunctionResultV0
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for FunctionResultV0
impl<'de> Deserialize<'de> for FunctionResultV0
source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionResultV0, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<FunctionResultV0, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl PartialEq for FunctionResultV0
impl PartialEq for FunctionResultV0
source§fn eq(&self, other: &FunctionResultV0) -> bool
fn eq(&self, other: &FunctionResultV0) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FunctionResultV0
impl Serialize for FunctionResultV0
source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for FunctionResultV0
Auto Trait Implementations§
impl Freeze for FunctionResultV0
impl RefUnwindSafe for FunctionResultV0
impl Send for FunctionResultV0
impl Sync for FunctionResultV0
impl Unpin for FunctionResultV0
impl UnwindSafe for FunctionResultV0
Blanket Implementations§
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, _digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
source§impl<T> AbiEnumVisitor for T
impl<T> AbiEnumVisitor for T
default fn visit_for_abi( &self, digester: &mut AbiDigester, ) -> Result<AbiDigester, DigestError>
source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more