pub struct TransformationRecordV1 {
pub kind: TransformationKindV1,
pub input: Sha256Digest,
pub output: Sha256Digest,
pub tokens_before: u64,
pub tokens_after: u64,
pub reason_codes: Vec<ReasonCodeV1>,
}Expand description
One step in an object’s lineage: which transformation turned which input digest into which output digest, and what it cost or saved.
Fields§
§kind: TransformationKindV1§input: Sha256Digest§output: Sha256Digest§tokens_before: u64§tokens_after: u64§reason_codes: Vec<ReasonCodeV1>Trait Implementations§
Source§impl Clone for TransformationRecordV1
impl Clone for TransformationRecordV1
Source§impl Debug for TransformationRecordV1
impl Debug for TransformationRecordV1
Source§impl<'de> Deserialize<'de> for TransformationRecordV1
impl<'de> Deserialize<'de> for TransformationRecordV1
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 TransformationRecordV1
Source§impl PartialEq for TransformationRecordV1
impl PartialEq for TransformationRecordV1
Source§impl Serialize for TransformationRecordV1
impl Serialize for TransformationRecordV1
impl StructuralPartialEq for TransformationRecordV1
Auto Trait Implementations§
impl Freeze for TransformationRecordV1
impl RefUnwindSafe for TransformationRecordV1
impl Send for TransformationRecordV1
impl Sync for TransformationRecordV1
impl Unpin for TransformationRecordV1
impl UnsafeUnpin for TransformationRecordV1
impl UnwindSafe for TransformationRecordV1
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