pub struct RequestPayload {
pub target: u32,
pub output: RawOutput,
pub source_attempt_id: String,
}Expand description
A validated raw output and where it came from. Its derivation follows
from the plan, which the key names; its lineage is the source attempt
and the entry’s evidence.
Fields§
§target: u32The index of the target that answered: the primary, or a fallback.
output: RawOutput§source_attempt_id: StringTrait Implementations§
Source§impl Clone for RequestPayload
impl Clone for RequestPayload
Source§impl Debug for RequestPayload
impl Debug for RequestPayload
Source§impl<'de> Deserialize<'de> for RequestPayload
impl<'de> Deserialize<'de> for RequestPayload
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 JsonSchema for RequestPayload
impl JsonSchema for RequestPayload
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for RequestPayload
impl PartialEq for RequestPayload
Source§impl Serialize for RequestPayload
impl Serialize for RequestPayload
impl StructuralPartialEq for RequestPayload
Auto Trait Implementations§
impl Freeze for RequestPayload
impl RefUnwindSafe for RequestPayload
impl Send for RequestPayload
impl Sync for RequestPayload
impl Unpin for RequestPayload
impl UnsafeUnpin for RequestPayload
impl UnwindSafe for RequestPayload
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