pub struct InstructionEffectDescriptor {
pub kind: InstructionEffectKind,
pub target: &'static str,
pub layout_ref: &'static str,
pub reason: &'static str,
}Expand description
Static effect metadata for one instruction target.
Fields§
§kind: InstructionEffectKindEffect kind.
target: &'static strAccount, receipt, or CPI target this effect describes.
layout_ref: &'static strLayout reference for typed effects, if any.
reason: &'static strPolicy pack or lifecycle reason that explains the effect.
Trait Implementations§
Source§impl Clone for InstructionEffectDescriptor
impl Clone for InstructionEffectDescriptor
Source§fn clone(&self) -> InstructionEffectDescriptor
fn clone(&self) -> InstructionEffectDescriptor
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 InstructionEffectDescriptor
impl Debug for InstructionEffectDescriptor
impl Copy for InstructionEffectDescriptor
Auto Trait Implementations§
impl Freeze for InstructionEffectDescriptor
impl RefUnwindSafe for InstructionEffectDescriptor
impl Send for InstructionEffectDescriptor
impl Sync for InstructionEffectDescriptor
impl Unpin for InstructionEffectDescriptor
impl UnsafeUnpin for InstructionEffectDescriptor
impl UnwindSafe for InstructionEffectDescriptor
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