Skip to content

Commit 9822702

Browse files
committed
Add a Debug trait implementation for AclPermissions.
1 parent e791067 commit 9822702

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/context/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ unsafe impl RedisLockIndicator for Context {}
864864
bitflags! {
865865
/// An object represent ACL permissions.
866866
/// Used to check ACL permission using `acl_check_key_permission`.
867+
#[derive(Debug)]
867868
pub struct AclPermissions : c_int {
868869
/// User can look at the content of the value, either return it or copy it.
869870
const ACCESS = raw::REDISMODULE_CMD_KEY_ACCESS as c_int;

0 commit comments

Comments
 (0)