pub struct ProgramRuntimeDefinition {
pub program_id: String,
pub program_spec_hash: ProgramSpecHash,
pub idl_content_hash: IdlContentHash,
pub normalized_idl_hash: NormalizedIdlHash,
pub program_release_hash: ProgramReleaseHash,
pub account_reader: ProgramAccountReaderFn,
}Fields§
§program_id: String§program_spec_hash: ProgramSpecHash§idl_content_hash: IdlContentHash§normalized_idl_hash: NormalizedIdlHash§program_release_hash: ProgramReleaseHash§account_reader: ProgramAccountReaderFnTrait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ProgramRuntimeDefinition
impl !UnwindSafe for ProgramRuntimeDefinition
impl Forget for ProgramRuntimeDefinition
impl Freeze for ProgramRuntimeDefinitionwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<fn() -> ProgramSpec>: Freeze,
PhantomData<fn() -> IdlContent>: Freeze,
PhantomData<fn() -> IdlNormalized>: Freeze,
PhantomData<fn() -> ProgramRelease>: Freeze,
*const ArcInner<dyn Fn(&str, &[u8]) -> Result<Value, Error> + Sync + Send> is !null: Freeze,
PhantomData<ArcInner<dyn Fn(&str, &[u8]) -> Result<Value, Error> + Sync + Send>>: Freeze,
impl Move for ProgramRuntimeDefinition
impl Send for ProgramRuntimeDefinition
impl Sync for ProgramRuntimeDefinition
impl Unpin for ProgramRuntimeDefinition
impl UnsafeUnpin for ProgramRuntimeDefinitionwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<fn() -> ProgramSpec>: UnsafeUnpin,
PhantomData<fn() -> IdlContent>: UnsafeUnpin,
PhantomData<fn() -> IdlNormalized>: UnsafeUnpin,
PhantomData<fn() -> ProgramRelease>: UnsafeUnpin,
*const ArcInner<dyn Fn(&str, &[u8]) -> Result<Value, Error> + Sync + Send> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Fn(&str, &[u8]) -> Result<Value, Error> + Sync + Send>>: UnsafeUnpin,
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