pub struct RouteResult {
pub connection_id: String,
pub feasible: bool,
pub status: RouteStatus,
pub message: String,
pub length: Option<f64>,
pub segment_ids: Vec<String>,
pub node_path: Vec<String>,
pub port_ids: Vec<String>,
}Expand description
One connection’s route.
Fields§
§connection_id: String§feasible: bool§status: RouteStatus§message: StringHuman text for the status column (empty when routed).
length: Option<f64>Route length (the sum of the crossed segments’ arc lengths).
segment_ids: Vec<String>The crossed segments (spline ids) in travel order.
node_path: Vec<String>The sided nodes visited ({port}/{side}), start to end. A node names
the side the wire is poised to LEAVE through: the first is the side it
departs the start port on, the last is the opposite of the side it
arrives at the end port on.
port_ids: Vec<String>The ports visited, start to end.
Trait Implementations§
Source§impl Clone for RouteResult
impl Clone for RouteResult
Source§fn clone(&self) -> RouteResult
fn clone(&self) -> RouteResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RouteResult
impl Debug for RouteResult
Source§impl<'de> Deserialize<'de> for RouteResult
impl<'de> Deserialize<'de> for RouteResult
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 PartialEq for RouteResult
impl PartialEq for RouteResult
Source§impl Serialize for RouteResult
impl Serialize for RouteResult
impl StructuralPartialEq for RouteResult
Auto Trait Implementations§
impl Freeze for RouteResult
impl RefUnwindSafe for RouteResult
impl Send for RouteResult
impl Sync for RouteResult
impl Unpin for RouteResult
impl UnsafeUnpin for RouteResult
impl UnwindSafe for RouteResult
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