We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Example:
pub fn new_user(ctx: Context<CreateUser>, new_user:User) -> ProgramResult { ctx.accounts.user_to_create.update_inner(new_user); }
very useful for structs that have a ton of fields, that way you dont have to write 20 update lines for each field
The text was updated successfully, but these errors were encountered:
set_inner
Account<'a, T>
Successfully merging a pull request may close this issue.
Example:
very useful for structs that have a ton of fields, that way you dont have to write 20 update lines for each field
The text was updated successfully, but these errors were encountered: