Rust wrapper for the IBM MQ administrative REST API.
mq-rest-admin provides typed Rust functions for every MQSC command
exposed by the IBM MQ 9.4 runCommandJSON REST endpoint. Attribute names are
automatically translated between Rust idioms and native MQSC parameter
names.
cargo add mq-rest-adminRequires Rust 1.92+.
use mq_rest_admin::MqRestSession;
let session = MqRestSession::builder("https://localhost:9443/ibmmq/rest/v2")
.basic_auth("mqadmin", "mqadmin")
.build()?;
let queues = session.display_queue(Some("DEV.*"), None, None)?;
for queue in &queues {
println!("{:?}", queue);
}Full documentation: https://mq-rest-admin-project.github.io/mq-rest-admin-rust/
cargo buildGPL-3.0-or-later. See LICENSE.