pub enum ItemResult {
Output(RawOutput),
Failure {
code: RemoteCode,
detail: String,
},
InProgress,
}Variants§
Output(RawOutput)
The rustev.backend-output/1 vocabulary.
Failure
InProgress
The attempt id is already running at the endpoint (3.3.2).
Trait Implementations§
Source§impl Clone for ItemResult
impl Clone for ItemResult
Source§impl Debug for ItemResult
impl Debug for ItemResult
Source§impl<'de> Deserialize<'de> for ItemResult
impl<'de> Deserialize<'de> for ItemResult
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 ItemResult
impl JsonSchema for ItemResult
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 ItemResult
impl PartialEq for ItemResult
Source§impl Serialize for ItemResult
impl Serialize for ItemResult
impl StructuralPartialEq for ItemResult
Auto Trait Implementations§
impl Freeze for ItemResult
impl RefUnwindSafe for ItemResult
impl Send for ItemResult
impl Sync for ItemResult
impl Unpin for ItemResult
impl UnsafeUnpin for ItemResult
impl UnwindSafe for ItemResult
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