pub struct AmalgamationRegionPlan {
pub sub_regions: Vec<AmalgamationRegionSpec>,
pub area_region: HashMap<String, String>,
pub host_designated_inputs: Vec<String>,
pub host_designated_outputs: Vec<String>,
pub host_port_encoding: Map<String, Value>,
pub region_map: HashMap<String, String>,
}Expand description
Region tree to build for an amalgamated guest genome.
Fields§
§sub_regions: Vec<AmalgamationRegionSpec>Sub-regions in parent-before-child order.
area_region: HashMap<String, String>Imported area (base64 id) -> region id it joins. Areas absent here belong to the host amalgamation region.
host_designated_inputs: Vec<String>Designated inputs for the host region (set only when exactly one guest top-level region maps onto it).
host_designated_outputs: Vec<String>Designated outputs for the host region (same rule as inputs).
host_port_encoding: Map<String, Value>port_encoding entries for the host region’s designated ports (same rule as inputs);
empty when none.
region_map: HashMap<String, String>Guest region id -> region id it became in the host (the host amalgamation region id for the single top-level region). Guest regions outside the planned tree are absent.
Trait Implementations§
Source§impl Clone for AmalgamationRegionPlan
impl Clone for AmalgamationRegionPlan
Source§impl Debug for AmalgamationRegionPlan
impl Debug for AmalgamationRegionPlan
Source§impl Default for AmalgamationRegionPlan
impl Default for AmalgamationRegionPlan
Source§impl PartialEq for AmalgamationRegionPlan
impl PartialEq for AmalgamationRegionPlan
impl StructuralPartialEq for AmalgamationRegionPlan
Auto Trait Implementations§
impl Forget for AmalgamationRegionPlan
impl Freeze for AmalgamationRegionPlan
impl Move for AmalgamationRegionPlan
impl RefUnwindSafe for AmalgamationRegionPlan
impl Send for AmalgamationRegionPlan
impl Sync for AmalgamationRegionPlan
impl Unpin for AmalgamationRegionPlan
impl UnsafeUnpin for AmalgamationRegionPlan
impl UnwindSafe for AmalgamationRegionPlan
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