pub struct AclRoleUpdateRequest {
pub name: Option<String>,
pub redis_rules: Option<Vec<AclRoleRedisRuleSpec>>,
pub role_id: Option<i32>,
pub command_type: Option<String>,
pub extra: Value,
}
Expand description
ACL role update request
Fields§
§name: Option<String>
Optional. Changes the database access role name.
redis_rules: Option<Vec<AclRoleRedisRuleSpec>>
Optional. Changes the Redis ACL rules to assign to this database access role.
role_id: Option<i32>
§command_type: Option<String>
§extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for AclRoleUpdateRequest
impl Clone for AclRoleUpdateRequest
Source§fn clone(&self) -> AclRoleUpdateRequest
fn clone(&self) -> AclRoleUpdateRequest
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 AclRoleUpdateRequest
impl Debug for AclRoleUpdateRequest
Source§impl<'de> Deserialize<'de> for AclRoleUpdateRequest
impl<'de> Deserialize<'de> for AclRoleUpdateRequest
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 AclRoleUpdateRequest
impl RefUnwindSafe for AclRoleUpdateRequest
impl Send for AclRoleUpdateRequest
impl Sync for AclRoleUpdateRequest
impl Unpin for AclRoleUpdateRequest
impl UnwindSafe for AclRoleUpdateRequest
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