pub struct MigrateNodesPairResult {
pub target_hsm_name: String,
pub parent_hsm_name: String,
pub target_members: Vec<String>,
pub parent_members: Vec<String>,
}Expand description
One migration pair’s result; mirrors
manta_server::service::migrate::NodeMigrationResult on the wire.
Embedded inside MigrateNodesResponse without importing the
server-side type into the shared crate.
Fields§
§target_hsm_name: StringHSM group that received the nodes.
parent_hsm_name: StringHSM group that the nodes were moved out of.
target_members: Vec<String>Final member list of the target group after migration.
parent_members: Vec<String>Remaining member list of the parent group after migration.
Trait Implementations§
Source§impl ComposeSchema for MigrateNodesPairResult
impl ComposeSchema for MigrateNodesPairResult
Source§impl Debug for MigrateNodesPairResult
impl Debug for MigrateNodesPairResult
Source§impl<'de> Deserialize<'de> for MigrateNodesPairResult
impl<'de> Deserialize<'de> for MigrateNodesPairResult
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 MigrateNodesPairResult
impl Serialize for MigrateNodesPairResult
Auto Trait Implementations§
impl Freeze for MigrateNodesPairResult
impl RefUnwindSafe for MigrateNodesPairResult
impl Send for MigrateNodesPairResult
impl Sync for MigrateNodesPairResult
impl Unpin for MigrateNodesPairResult
impl UnwindSafe for MigrateNodesPairResult
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