Skip to content

Commit

Permalink
Doc improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelklishin committed Sep 16, 2023
1 parent 20c2bb1 commit abcb05f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
@@ -1,4 +1,4 @@
#![allow()]
#![allow(rustdoc::bare_urls)]
//! # Rust client for the RabbitMQ HTTP API
//!
//! This library is Rust client for the [RabbitMQ HTTP API](https://rabbitmq.com/management.html#http-api).
Expand Down
4 changes: 4 additions & 0 deletions src/requests.rs
Expand Up @@ -48,8 +48,12 @@ impl<T> EnforcedLimitParams<T> {
/// Properties of a [user](https://rabbitmq.com/access-control.html#user-management) to be created or updated.
#[derive(Serialize)]
pub struct UserParams<'a> {
/// Username
pub name: &'a str,
/// Hashed and salted password of the user.
/// Use functions in [`crate::password_hashing`] instead of [manually salting and hashing values](https://rabbitmq.com/passwords.html#computing-password-hash).
pub password_hash: &'a str,
/// A comma-separate list of user tags
pub tags: &'a str,
}

Expand Down

0 comments on commit abcb05f

Please sign in to comment.