pub fn set_account_pinned( account_id: u64, pinned: bool, runtime: State<'_, Runtime>, ) -> Result<(), String>
Pins an account to the dashboard, or unpins it.