pub struct ReceiptInputContext {
pub source: NonEmptyString,
pub preview: String,
pub value_hash: NonEmptyString,
}Expand description
The input signal for training and inspection: where the run’s input came from, a human-readable preview, and a content hash for integrity.
Fields§
§source: NonEmptyString§preview: String§value_hash: NonEmptyStringTrait Implementations§
Source§impl Clone for ReceiptInputContext
impl Clone for ReceiptInputContext
Source§fn clone(&self) -> ReceiptInputContext
fn clone(&self) -> ReceiptInputContext
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ReceiptInputContext
impl Debug for ReceiptInputContext
Source§impl<'de> Deserialize<'de> for ReceiptInputContext
impl<'de> Deserialize<'de> for ReceiptInputContext
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 ReceiptInputContext
Source§impl PartialEq for ReceiptInputContext
impl PartialEq for ReceiptInputContext
Source§fn eq(&self, other: &ReceiptInputContext) -> bool
fn eq(&self, other: &ReceiptInputContext) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RunxSchema for ReceiptInputContext
impl RunxSchema for ReceiptInputContext
Source§fn json_schema() -> Value
fn json_schema() -> Value
The inlined JSON Schema for this type.
Source§impl Serialize for ReceiptInputContext
impl Serialize for ReceiptInputContext
impl StructuralPartialEq for ReceiptInputContext
Auto Trait Implementations§
impl Freeze for ReceiptInputContext
impl RefUnwindSafe for ReceiptInputContext
impl Send for ReceiptInputContext
impl Sync for ReceiptInputContext
impl Unpin for ReceiptInputContext
impl UnsafeUnpin for ReceiptInputContext
impl UnwindSafe for ReceiptInputContext
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