pub struct ACLRoleDatabase {
pub subscription_id: Option<i32>,
pub database_id: Option<i32>,
pub database_name: Option<String>,
pub regions: Option<Vec<String>>,
}Expand description
Database reference in an ACL role’s redis rule
Fields§
§subscription_id: Option<i32>Subscription ID
database_id: Option<i32>Database ID
database_name: Option<String>Database name
regions: Option<Vec<String>>Regions (for Active-Active databases)
Trait Implementations§
Source§impl Clone for ACLRoleDatabase
impl Clone for ACLRoleDatabase
Source§fn clone(&self) -> ACLRoleDatabase
fn clone(&self) -> ACLRoleDatabase
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 ACLRoleDatabase
impl Debug for ACLRoleDatabase
Source§impl<'de> Deserialize<'de> for ACLRoleDatabase
impl<'de> Deserialize<'de> for ACLRoleDatabase
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 ACLRoleDatabase
impl RefUnwindSafe for ACLRoleDatabase
impl Send for ACLRoleDatabase
impl Sync for ACLRoleDatabase
impl Unpin for ACLRoleDatabase
impl UnwindSafe for ACLRoleDatabase
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