pub struct AmalgamationModulatorPlan {
pub owned: Vec<PlannedOwnedModulator>,
pub adopted: Vec<PlannedAdoptedModulator>,
pub name_map: HashMap<String, String>,
pub reused_driver_remap: HashMap<String, String>,
pub orphan_driver_ids: Vec<String>,
pub notices: Vec<String>,
}Expand description
Modulator work for one amalgamation.
Fields§
§owned: Vec<PlannedOwnedModulator>Owned modulators to create, before the areas.
adopted: Vec<PlannedAdoptedModulator>Adopting modulators to create, after the areas.
name_map: HashMap<String, String>Every guest modulator name -> its name in the host (renamed, reused or unchanged).
reused_driver_remap: HashMap<String, String>Guest driver area (base64) -> host driver area, for owned modulators that reuse a host modulator. Created owned modulators add their own entry once the service returns the id.
orphan_driver_ids: Vec<String>Guest modulator driver areas (base64) with no guest modulator instance. They cannot be imported.
notices: Vec<String>One line per rename or reuse, for the response and the log.
Trait Implementations§
Source§impl Clone for AmalgamationModulatorPlan
impl Clone for AmalgamationModulatorPlan
Source§impl Debug for AmalgamationModulatorPlan
impl Debug for AmalgamationModulatorPlan
Source§impl Default for AmalgamationModulatorPlan
impl Default for AmalgamationModulatorPlan
impl StructuralPartialEq for AmalgamationModulatorPlan
Auto Trait Implementations§
impl Forget for AmalgamationModulatorPlan
impl Freeze for AmalgamationModulatorPlan
impl Move for AmalgamationModulatorPlan
impl RefUnwindSafe for AmalgamationModulatorPlan
impl Send for AmalgamationModulatorPlan
impl Sync for AmalgamationModulatorPlan
impl Unpin for AmalgamationModulatorPlan
impl UnsafeUnpin for AmalgamationModulatorPlan
impl UnwindSafe for AmalgamationModulatorPlan
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more