pub struct RuntimePreparationFailure {
pub field: String,
pub value: String,
pub error: String,
}Expand description
A failure of the runtime’s own pre-dispatch preparation, attributed to the exact argument declaration that caused it. The dispatcher uses this to decide whether the declaration was its own projection (repairable without involving the model) or the model’s (surfaced as a typed rejection).
Fields§
§field: StringArgument field the declaration came from (for example write_roots).
value: StringThe exact declared value.
error: StringThe underlying runtime error.
Trait Implementations§
Source§impl Clone for RuntimePreparationFailure
impl Clone for RuntimePreparationFailure
Source§impl Debug for RuntimePreparationFailure
impl Debug for RuntimePreparationFailure
Source§impl<'de> Deserialize<'de> for RuntimePreparationFailure
impl<'de> Deserialize<'de> for RuntimePreparationFailure
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
impl Eq for RuntimePreparationFailure
impl StructuralPartialEq for RuntimePreparationFailure
Auto Trait Implementations§
impl Forget for RuntimePreparationFailure
impl Freeze for RuntimePreparationFailure
impl Move for RuntimePreparationFailure
impl RefUnwindSafe for RuntimePreparationFailure
impl Send for RuntimePreparationFailure
impl Sync for RuntimePreparationFailure
impl Unpin for RuntimePreparationFailure
impl UnsafeUnpin for RuntimePreparationFailure
impl UnwindSafe for RuntimePreparationFailure
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