pub struct AclRedisRuleUpdateRequest {
pub redis_rule_id: Option<i32>,
pub name: String,
pub redis_rule: String,
pub command_type: Option<String>,
pub extra: Value,
}
Expand description
ACL redis rule update request
Fields§
§redis_rule_id: Option<i32>
§name: String
Optional. Changes the Redis ACL rule name.
redis_rule: String
Optional. Changes the Redis ACL rule pattern. See ACL syntax to learn how to define rules.
command_type: Option<String>
§extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for AclRedisRuleUpdateRequest
impl Clone for AclRedisRuleUpdateRequest
Source§fn clone(&self) -> AclRedisRuleUpdateRequest
fn clone(&self) -> AclRedisRuleUpdateRequest
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 AclRedisRuleUpdateRequest
impl Debug for AclRedisRuleUpdateRequest
Source§impl<'de> Deserialize<'de> for AclRedisRuleUpdateRequest
impl<'de> Deserialize<'de> for AclRedisRuleUpdateRequest
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 AclRedisRuleUpdateRequest
impl RefUnwindSafe for AclRedisRuleUpdateRequest
impl Send for AclRedisRuleUpdateRequest
impl Sync for AclRedisRuleUpdateRequest
impl Unpin for AclRedisRuleUpdateRequest
impl UnwindSafe for AclRedisRuleUpdateRequest
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