pub struct CallEvidence {
pub kind: CallKind,
pub callee: String,
pub span: AstSpan,
pub order: usize,
pub cpi_account_names: Vec<String>,
}Fields§
§kind: CallKind§callee: String§span: AstSpan§order: usize§cpi_account_names: Vec<String>Account names extracted from the CpiContext struct for this CPI call. Empty when the CPI accounts could not be resolved (raw invoke, unknown binding).
Trait Implementations§
Source§impl Clone for CallEvidence
impl Clone for CallEvidence
Source§fn clone(&self) -> CallEvidence
fn clone(&self) -> CallEvidence
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 CallEvidence
impl Debug for CallEvidence
impl Eq for CallEvidence
Source§impl PartialEq for CallEvidence
impl PartialEq for CallEvidence
Source§fn eq(&self, other: &CallEvidence) -> bool
fn eq(&self, other: &CallEvidence) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for CallEvidence
impl Serialize for CallEvidence
impl StructuralPartialEq for CallEvidence
Auto Trait Implementations§
impl Freeze for CallEvidence
impl RefUnwindSafe for CallEvidence
impl Send for CallEvidence
impl Sync for CallEvidence
impl Unpin for CallEvidence
impl UnsafeUnpin for CallEvidence
impl UnwindSafe for CallEvidence
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.