pub struct Envelope {Show 14 fields
pub ok: bool,
pub command: String,
pub ferraus_version: String,
pub schema_version: u32,
pub inputs: Vec<InputRecord>,
pub outputs: Vec<OutputRecord>,
pub params: Map<String, Value>,
pub models: Vec<ModelRecord>,
pub metrics: Map<String, Value>,
pub warnings: Vec<WarningRecord>,
pub result: Value,
pub error: Option<Error>,
pub timing_ms: u64,
pub dry_run: Option<bool>,
}Expand description
Every command’s structured result.
Fields§
§ok: bool§command: String§ferraus_version: String§schema_version: u32§inputs: Vec<InputRecord>§outputs: Vec<OutputRecord>§params: Map<String, Value>§models: Vec<ModelRecord>§metrics: Map<String, Value>§warnings: Vec<WarningRecord>§result: Value§error: Option<Error>§timing_ms: u64§dry_run: Option<bool>Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Envelope
impl RefUnwindSafe for Envelope
impl Send for Envelope
impl Sync for Envelope
impl Unpin for Envelope
impl UnsafeUnpin for Envelope
impl UnwindSafe for Envelope
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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