pub struct InstructionContext {
pub instruction_name: String,
pub from_role: AccountRole,
pub to_role: AccountRole,
pub all_accounts: Vec<String>,
}Fields§
§instruction_name: String§from_role: AccountRole§to_role: AccountRole§all_accounts: Vec<String>Trait Implementations§
Source§impl Clone for InstructionContext
impl Clone for InstructionContext
Source§fn clone(&self) -> InstructionContext
fn clone(&self) -> InstructionContext
Returns a duplicate of the value. Read more
1.0.0 · 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 InstructionContext
impl RefUnwindSafe for InstructionContext
impl Send for InstructionContext
impl Sync for InstructionContext
impl Unpin for InstructionContext
impl UnsafeUnpin for InstructionContext
impl UnwindSafe for InstructionContext
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