pub struct CrossServiceEdge {
pub transport: Transport,
pub contract: String,
pub from: EndpointRef,
pub to: EndpointRef,
pub confidence: f64,
pub cross_repo: bool,
}Expand description
A matched cross-service edge: an outbound endpoint linked to an inbound endpoint sharing a contract key. Computed on demand, not materialized.
Fields§
§transport: Transport§contract: String§from: EndpointRefThe consumer (outbound) side.
to: EndpointRefThe producer (inbound) side.
confidence: f64Edge confidence — the weaker of the two endpoint detections.
cross_repo: boolTrue when the two ends live in different repos.
Trait Implementations§
Source§impl Clone for CrossServiceEdge
impl Clone for CrossServiceEdge
Source§impl Debug for CrossServiceEdge
impl Debug for CrossServiceEdge
Source§impl<'de> Deserialize<'de> for CrossServiceEdge
impl<'de> Deserialize<'de> for CrossServiceEdge
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 CrossServiceEdge
impl PartialEq for CrossServiceEdge
Source§impl Serialize for CrossServiceEdge
impl Serialize for CrossServiceEdge
impl StructuralPartialEq for CrossServiceEdge
Auto Trait Implementations§
impl Freeze for CrossServiceEdge
impl RefUnwindSafe for CrossServiceEdge
impl Send for CrossServiceEdge
impl Sync for CrossServiceEdge
impl Unpin for CrossServiceEdge
impl UnsafeUnpin for CrossServiceEdge
impl UnwindSafe for CrossServiceEdge
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