pub struct ProvenanceStep {
pub node: NodeId,
pub object: &'static str,
pub operation: &'static str,
pub value: String,
}Expand description
One observation in a provenance chain: which node, object, and operation produced a value. 来源链中的一条观测:记录哪个节点、对象与操作产出了某个取值。
Fields§
§node: NodeIdNode that performed the operation. 执行该操作的节点。
object: &'static strObject the operation was performed on. 该操作所作用的对象。
operation: &'static strName of the operation that produced the value. 产出该取值的操作名称。
value: StringThe observed value rendered as text. 以文本形式记录的观测取值。
Trait Implementations§
Source§impl Clone for ProvenanceStep
impl Clone for ProvenanceStep
Source§fn clone(&self) -> ProvenanceStep
fn clone(&self) -> ProvenanceStep
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 ProvenanceStep
impl Debug for ProvenanceStep
impl Eq for ProvenanceStep
Source§impl PartialEq for ProvenanceStep
impl PartialEq for ProvenanceStep
impl StructuralPartialEq for ProvenanceStep
Auto Trait Implementations§
impl Freeze for ProvenanceStep
impl RefUnwindSafe for ProvenanceStep
impl Send for ProvenanceStep
impl Sync for ProvenanceStep
impl Unpin for ProvenanceStep
impl UnsafeUnpin for ProvenanceStep
impl UnwindSafe for ProvenanceStep
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