pub struct Subscription {Show 18 fields
pub id: Option<i32>,
pub name: Option<String>,
pub status: Option<String>,
pub payment_method_id: Option<i32>,
pub payment_method_type: Option<String>,
pub payment_method: Option<String>,
pub memory_storage: Option<String>,
pub persistent_storage_encryption_type: Option<String>,
pub deployment_type: Option<String>,
pub number_of_databases: Option<i32>,
pub cloud_details: Option<Vec<Value>>,
pub pricing: Option<Vec<Value>>,
pub redis_version: Option<String>,
pub deletion_grace_period: Option<String>,
pub customer_managed_key_access_details: Option<CustomerManagedKeyAccessDetails>,
pub created_timestamp: Option<String>,
pub links: Option<Vec<HashMap<String, Value>>>,
pub extra: Value,
}
Expand description
RedisLabs Subscription information Subscription
Represents a Redis Cloud subscription with all known API fields as first-class struct members.
The extra
field is reserved only for truly unknown/future fields that may be added to the API.
Fields§
§id: Option<i32>
Subscription ID
name: Option<String>
Subscription name
status: Option<String>
Subscription status (e.g., “active”, “pending”, “error”)
payment_method_id: Option<i32>
Payment method ID
payment_method_type: Option<String>
Payment method type (e.g., “credit-card”, “marketplace”)
payment_method: Option<String>
Payment method (e.g., “credit-card”, “marketplace”)
memory_storage: Option<String>
Memory storage type: “ram” or “ram-and-flash” (Auto Tiering)
persistent_storage_encryption_type: Option<String>
Persistent storage encryption type
deployment_type: Option<String>
Deployment type: “single-region” or “active-active”
number_of_databases: Option<i32>
Number of databases in this subscription
cloud_details: Option<Vec<Value>>
Cloud provider details (AWS, GCP, Azure configurations)
pricing: Option<Vec<Value>>
Pricing details for the subscription
redis_version: Option<String>
Redis version for databases created in this subscription (deprecated)
deletion_grace_period: Option<String>
Deletion grace period for customer-managed keys
customer_managed_key_access_details: Option<CustomerManagedKeyAccessDetails>
Customer-managed key access details for encryption
created_timestamp: Option<String>
Timestamp when subscription was created
links: Option<Vec<HashMap<String, Value>>>
HATEOAS links for API navigation
extra: Value
Only for truly unknown/future API fields. All documented fields should be first-class members above.
Trait Implementations§
Source§impl Clone for Subscription
impl Clone for Subscription
Source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more