pub struct ProgramAdapterV2 {
pub program_spec_hash: HashId<ProgramSpec>,
pub pdas: BTreeMap<String, PdaDefinitionV1>,
pub instruction_resolutions: Vec<InstructionResolutionAdapterV2>,
}Fields§
§program_spec_hash: HashId<ProgramSpec>§pdas: BTreeMap<String, PdaDefinitionV1>§instruction_resolutions: Vec<InstructionResolutionAdapterV2>Trait Implementations§
Source§impl Clone for ProgramAdapterV2
impl Clone for ProgramAdapterV2
Source§fn clone(&self) -> ProgramAdapterV2
fn clone(&self) -> ProgramAdapterV2
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 ProgramAdapterV2
impl Debug for ProgramAdapterV2
Source§impl<'de> Deserialize<'de> for ProgramAdapterV2
impl<'de> Deserialize<'de> for ProgramAdapterV2
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
Source§impl PartialEq for ProgramAdapterV2
impl PartialEq for ProgramAdapterV2
Source§impl Serialize for ProgramAdapterV2
impl Serialize for ProgramAdapterV2
impl StructuralPartialEq for ProgramAdapterV2
Auto Trait Implementations§
impl Freeze for ProgramAdapterV2
impl RefUnwindSafe for ProgramAdapterV2
impl Send for ProgramAdapterV2
impl Sync for ProgramAdapterV2
impl Unpin for ProgramAdapterV2
impl UnsafeUnpin for ProgramAdapterV2
impl UnwindSafe for ProgramAdapterV2
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