Struct aws_sdk_elasticache::model::ReshardingStatus
source · #[non_exhaustive]pub struct ReshardingStatus { /* private fields */ }
Expand description
The status of an online resharding operation.
Implementations§
source§impl ReshardingStatus
impl ReshardingStatus
sourcepub fn slot_migration(&self) -> Option<&SlotMigration>
pub fn slot_migration(&self) -> Option<&SlotMigration>
Represents the progress of an online resharding operation.
source§impl ReshardingStatus
impl ReshardingStatus
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ReshardingStatus
.
Examples found in repository?
src/xml_deser.rs (line 10626)
10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643
pub fn deser_structure_crate_model_resharding_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ReshardingStatus, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ReshardingStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("SlotMigration") /* SlotMigration com.amazonaws.elasticache#ReshardingStatus$SlotMigration */ => {
let var_445 =
Some(
crate::xml_deser::deser_structure_crate_model_slot_migration(&mut tag)
?
)
;
builder = builder.set_slot_migration(var_445);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ReshardingStatus
impl Clone for ReshardingStatus
source§fn clone(&self) -> ReshardingStatus
fn clone(&self) -> ReshardingStatus
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 more