Function ccash_rs::methods::admin::impact_balance [−][src]
pub async fn impact_balance(
session: &CCashSession,
admin_user: &CCashUser,
username: &str,
amount: i64
) -> Result<(), CCashError>
Expand description
Impacts the balance of user with the given username
by the amount
described by amount
. This function requires admin_user
to
be the admin account for the CCash instance.