pub struct HopperIdl {
pub base: ProgramIdl,
pub policies: &'static [PolicyDescriptor],
pub compatibility: &'static [CompatibilityPair],
pub receipt_profiles: &'static [ReceiptProfile],
pub segment_metadata: &'static [IdlSegmentDescriptor],
pub contexts: &'static [ContextDescriptor],
}Expand description
Extended IDL with full Hopper-native sections.
This is the complete program schema for Hopper-aware tools. It extends
ProgramIdl with policies, compatibility, receipts, segments, field intents,
and an operating profile.
Fields§
§base: ProgramIdlBase IDL (instructions, accounts, events).
policies: &'static [PolicyDescriptor]Policy descriptors.
compatibility: &'static [CompatibilityPair]Known upgrade paths.
receipt_profiles: &'static [ReceiptProfile]Receipt profiles keyed by name.
segment_metadata: &'static [IdlSegmentDescriptor]Segment metadata.
contexts: &'static [ContextDescriptor]Context (instruction account struct) descriptors.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HopperIdl
impl RefUnwindSafe for HopperIdl
impl Send for HopperIdl
impl Sync for HopperIdl
impl Unpin for HopperIdl
impl UnsafeUnpin for HopperIdl
impl UnwindSafe for HopperIdl
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