pub struct StackAuthoringV2 {
pub name: String,
pub programs: Vec<ProgramSpecV1>,
pub entities: Vec<PortableEntity>,
pub pda_overrides: BTreeMap<String, BTreeMap<String, PdaDefinitionV1>>,
pub instruction_overrides: Vec<InstructionDefinitionV1>,
pub live_alias: String,
}Fields§
§name: String§programs: Vec<ProgramSpecV1>§entities: Vec<PortableEntity>§pda_overrides: BTreeMap<String, BTreeMap<String, PdaDefinitionV1>>§instruction_overrides: Vec<InstructionDefinitionV1>§live_alias: StringImplementations§
Source§impl StackAuthoringV2
impl StackAuthoringV2
pub fn new( name: impl Into<String>, programs: Vec<ProgramSpecV1>, entities: Vec<PortableEntity>, ) -> Self
Trait Implementations§
Source§impl Clone for StackAuthoringV2
impl Clone for StackAuthoringV2
Source§fn clone(&self) -> StackAuthoringV2
fn clone(&self) -> StackAuthoringV2
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 moreAuto Trait Implementations§
impl Freeze for StackAuthoringV2
impl RefUnwindSafe for StackAuthoringV2
impl Send for StackAuthoringV2
impl Sync for StackAuthoringV2
impl Unpin for StackAuthoringV2
impl UnsafeUnpin for StackAuthoringV2
impl UnwindSafe for StackAuthoringV2
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