pub struct AclRoleDatabaseSpec {
pub subscription_id: i32,
pub database_id: i32,
pub regions: Option<Vec<String>>,
pub extra: Value,
}
Expand description
A list of databases where the specified rule applies for this role.
Fields§
§subscription_id: i32
Subscription ID for the database’s subscription. Use ‘GET /subscriptions’ or ‘GET /fixed/subscriptions’ to get a list of available subscriptions and their IDs.
database_id: i32
The database’s ID. Use ‘GET /subscriptions/{subscriptionId}/databases’ or ‘GET /fixed/subscriptions/{subscriptionId}/databases’ to get a list of databases in a subscription and their IDs.
regions: Option<Vec<String>>
(Active-Active databases only) Optional. A list of regions where this rule applies for this role.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for AclRoleDatabaseSpec
impl Clone for AclRoleDatabaseSpec
Source§fn clone(&self) -> AclRoleDatabaseSpec
fn clone(&self) -> AclRoleDatabaseSpec
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 AclRoleDatabaseSpec
impl Debug for AclRoleDatabaseSpec
Source§impl<'de> Deserialize<'de> for AclRoleDatabaseSpec
impl<'de> Deserialize<'de> for AclRoleDatabaseSpec
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 AclRoleDatabaseSpec
impl RefUnwindSafe for AclRoleDatabaseSpec
impl Send for AclRoleDatabaseSpec
impl Sync for AclRoleDatabaseSpec
impl Unpin for AclRoleDatabaseSpec
impl UnwindSafe for AclRoleDatabaseSpec
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