pub struct DatabaseUpgradeRedisVersionRequest {
pub database_id: Option<i32>,
pub subscription_id: Option<i32>,
pub target_redis_version: String,
pub command_type: Option<String>,
pub extra: Value,
}
Expand description
Upgrades the specified Pro database to a later Redis version.
Fields§
§database_id: Option<i32>
§subscription_id: Option<i32>
§target_redis_version: String
The target Redis version the database will be upgraded to. Use GET /subscriptions/redis-versions to get a list of available Redis versions.
command_type: Option<String>
§extra: Value
Additional fields from the API
Trait Implementations§
Source§impl Clone for DatabaseUpgradeRedisVersionRequest
impl Clone for DatabaseUpgradeRedisVersionRequest
Source§fn clone(&self) -> DatabaseUpgradeRedisVersionRequest
fn clone(&self) -> DatabaseUpgradeRedisVersionRequest
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<'de> Deserialize<'de> for DatabaseUpgradeRedisVersionRequest
impl<'de> Deserialize<'de> for DatabaseUpgradeRedisVersionRequest
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 DatabaseUpgradeRedisVersionRequest
impl RefUnwindSafe for DatabaseUpgradeRedisVersionRequest
impl Send for DatabaseUpgradeRedisVersionRequest
impl Sync for DatabaseUpgradeRedisVersionRequest
impl Unpin for DatabaseUpgradeRedisVersionRequest
impl UnwindSafe for DatabaseUpgradeRedisVersionRequest
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