pub struct CallNode {
pub program_id: String,
pub label: Option<String>,
pub depth: u32,
pub units_consumed: Option<u64>,
pub status: NodeStatus,
pub logs: Vec<String>,
pub children: Vec<CallNode>,
}Expand description
A node in the CPI call tree.
Fields§
§program_id: StringProgram ID (or "transaction" for the synthetic root).
label: Option<String>Resolved display label, if known.
depth: u32Invoke depth (0 for the root, 1 for the entrypoint program).
units_consumed: Option<u64>CU consumed by this invocation, if reported.
status: NodeStatusTerminal status.
logs: Vec<String>Log messages emitted directly under this invocation.
children: Vec<CallNode>Nested invocations.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CallNode
impl<'de> Deserialize<'de> for CallNode
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 StructuralPartialEq for CallNode
Auto Trait Implementations§
impl Freeze for CallNode
impl RefUnwindSafe for CallNode
impl Send for CallNode
impl Sync for CallNode
impl Unpin for CallNode
impl UnsafeUnpin for CallNode
impl UnwindSafe for CallNode
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