pub struct AclRoleRedisRuleSpec {
pub rule_name: String,
pub databases: Vec<AclRoleDatabaseSpec>,
pub extra: Value,
}
Expand description
Optional. Changes the Redis ACL rules to assign to this database access role.
Fields§
§rule_name: String
The name of a Redis ACL rule to assign to the role. Use ‘GET /acl/redisRules’ to get a list of available rules for your account.
databases: Vec<AclRoleDatabaseSpec>
A list of databases where the specified rule applies for this role.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for AclRoleRedisRuleSpec
impl Clone for AclRoleRedisRuleSpec
Source§fn clone(&self) -> AclRoleRedisRuleSpec
fn clone(&self) -> AclRoleRedisRuleSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for AclRoleRedisRuleSpec
impl Debug for AclRoleRedisRuleSpec
Source§impl<'de> Deserialize<'de> for AclRoleRedisRuleSpec
impl<'de> Deserialize<'de> for AclRoleRedisRuleSpec
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 AclRoleRedisRuleSpec
impl RefUnwindSafe for AclRoleRedisRuleSpec
impl Send for AclRoleRedisRuleSpec
impl Sync for AclRoleRedisRuleSpec
impl Unpin for AclRoleRedisRuleSpec
impl UnwindSafe for AclRoleRedisRuleSpec
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