pub struct BorshArg<T>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T> HandlerContext<'_, '_, '_> for BorshArg<T>where
T: BorshDeserialize,
impl<T> HandlerContext<'_, '_, '_> for BorshArg<T>where
T: BorshDeserialize,
fn from_entrypoint( _program_id: &Address, _accounts: &mut &[AccountView], instruction_data: &mut &[u8], ) -> Result<Self, Error>
Auto Trait Implementations§
impl<T> Freeze for BorshArg<T>where
T: Freeze,
impl<T> RefUnwindSafe for BorshArg<T>where
T: RefUnwindSafe,
impl<T> Send for BorshArg<T>where
T: Send,
impl<T> Sync for BorshArg<T>where
T: Sync,
impl<T> Unpin for BorshArg<T>where
T: Unpin,
impl<T> UnwindSafe for BorshArg<T>where
T: UnwindSafe,
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