pub struct SubscriptionSpec {
pub provider: Option<String>,
pub cloud_account_id: Option<i32>,
pub regions: Vec<SubscriptionRegionSpec>,
pub extra: Value,
}
Expand description
Cloud provider, region, and networking details.
Fields§
§provider: Option<String>
Optional. Cloud provider. Default: ‘AWS’
cloud_account_id: Option<i32>
Optional. Cloud account identifier. Default: Redis internal cloud account (Cloud Account ID = 1). Use GET /cloud-accounts to list all available cloud accounts. Note: A subscription on Google Cloud can be created only with Redis internal cloud account.
regions: Vec<SubscriptionRegionSpec>
The cloud provider region or list of regions (Active-Active only) and networking details.
extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for SubscriptionSpec
impl Clone for SubscriptionSpec
Source§fn clone(&self) -> SubscriptionSpec
fn clone(&self) -> SubscriptionSpec
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 SubscriptionSpec
impl Debug for SubscriptionSpec
Source§impl<'de> Deserialize<'de> for SubscriptionSpec
impl<'de> Deserialize<'de> for SubscriptionSpec
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 SubscriptionSpec
impl RefUnwindSafe for SubscriptionSpec
impl Send for SubscriptionSpec
impl Sync for SubscriptionSpec
impl Unpin for SubscriptionSpec
impl UnwindSafe for SubscriptionSpec
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