pub struct ACLRole {
pub id: Option<i32>,
pub name: Option<String>,
pub redis_rules: Option<Vec<ACLRoleRedisRule>>,
pub users: Option<Vec<ACLRoleUser>>,
pub status: Option<String>,
}Expand description
ACL role
Fields§
§id: Option<i32>Role ID
name: Option<String>Role name
redis_rules: Option<Vec<ACLRoleRedisRule>>Redis rules associated with this role
Note: These use different field names (ruleId, ruleName) than standalone redis rules
users: Option<Vec<ACLRoleUser>>Users assigned to this role
status: Option<String>Role status (e.g., “active”)
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ACLRole
impl<'de> Deserialize<'de> for ACLRole
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ACLRole
impl RefUnwindSafe for ACLRole
impl Send for ACLRole
impl Sync for ACLRole
impl Unpin for ACLRole
impl UnwindSafe for ACLRole
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more