pub struct ACLRedisRule {
pub id: Option<i32>,
pub name: Option<String>,
pub acl: Option<String>,
pub is_default: Option<bool>,
pub status: Option<String>,
}Expand description
ACL Redis rule
Fields§
§id: Option<i32>Rule ID
name: Option<String>Rule name
acl: Option<String>ACL pattern (e.g., “+@all ~lcm:*”)
is_default: Option<bool>Whether this is a default rule
status: Option<String>Rule status (e.g., “active”)
Trait Implementations§
Source§impl Clone for ACLRedisRule
impl Clone for ACLRedisRule
Source§fn clone(&self) -> ACLRedisRule
fn clone(&self) -> ACLRedisRule
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 ACLRedisRule
impl Debug for ACLRedisRule
Source§impl<'de> Deserialize<'de> for ACLRedisRule
impl<'de> Deserialize<'de> for ACLRedisRule
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 ACLRedisRule
impl RefUnwindSafe for ACLRedisRule
impl Send for ACLRedisRule
impl Sync for ACLRedisRule
impl Unpin for ACLRedisRule
impl UnwindSafe for ACLRedisRule
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