Struct google_redis1::api::UpdateInfo
source · pub struct UpdateInfo {
pub target_replica_count: Option<i32>,
pub target_shard_count: Option<i32>,
}
Expand description
Represents information about an updating cluster.
This type is not used in any activity, and only used as part of another schema.
Fields§
§target_replica_count: Option<i32>
Target number of replica nodes per shard.
target_shard_count: Option<i32>
Target number of shards for redis cluster
Trait Implementations§
source§impl Clone for UpdateInfo
impl Clone for UpdateInfo
source§fn clone(&self) -> UpdateInfo
fn clone(&self) -> UpdateInfo
Returns a copy 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 UpdateInfo
impl Debug for UpdateInfo
source§impl Default for UpdateInfo
impl Default for UpdateInfo
source§fn default() -> UpdateInfo
fn default() -> UpdateInfo
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for UpdateInfo
impl<'de> Deserialize<'de> for UpdateInfo
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
source§impl Serialize for UpdateInfo
impl Serialize for UpdateInfo
impl Part for UpdateInfo
Auto Trait Implementations§
impl RefUnwindSafe for UpdateInfo
impl Send for UpdateInfo
impl Sync for UpdateInfo
impl Unpin for UpdateInfo
impl UnwindSafe for UpdateInfo
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