pub struct ResourceCommandExplanation {
pub key: ResourceKey,
pub scope: ScopeId,
pub transaction_id: TransactionId,
pub revision: Revision,
pub kind: ResourceCommandKind,
pub cause: ResourceCommandCause,
pub collection_diffs: Vec<NodeId>,
pub changed_nodes: Vec<NodeId>,
pub input_causes: Vec<NodeId>,
pub dependency_paths: Vec<Vec<NodeId>>,
}Expand description
Explanation for the latest command emitted for a resource key.
Fields§
§key: ResourceKeyResource key.
scope: ScopeIdScope associated with the command.
transaction_id: TransactionIdTransaction that emitted the command.
revision: RevisionRevision carried by the transaction.
kind: ResourceCommandKindCommand operation without application payload.
cause: ResourceCommandCauseGraph cause that produced the command.
collection_diffs: Vec<NodeId>Collection diffs consumed by the command’s planner, if any.
changed_nodes: Vec<NodeId>Nodes changed in the transaction.
input_causes: Vec<NodeId>Canonical input causes for the command.
dependency_paths: Vec<Vec<NodeId>>Dependency paths from input causes to collection diffs.
Trait Implementations§
Source§impl Clone for ResourceCommandExplanation
impl Clone for ResourceCommandExplanation
Source§fn clone(&self) -> ResourceCommandExplanation
fn clone(&self) -> ResourceCommandExplanation
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 ResourceCommandExplanation
impl Debug for ResourceCommandExplanation
impl Eq for ResourceCommandExplanation
Source§impl PartialEq for ResourceCommandExplanation
impl PartialEq for ResourceCommandExplanation
Source§fn eq(&self, other: &ResourceCommandExplanation) -> bool
fn eq(&self, other: &ResourceCommandExplanation) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ResourceCommandExplanation
Auto Trait Implementations§
impl Freeze for ResourceCommandExplanation
impl RefUnwindSafe for ResourceCommandExplanation
impl Send for ResourceCommandExplanation
impl Sync for ResourceCommandExplanation
impl Unpin for ResourceCommandExplanation
impl UnsafeUnpin for ResourceCommandExplanation
impl UnwindSafe for ResourceCommandExplanation
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