pub struct Link {
pub target: String,
pub link_type: String,
pub note: String,
pub inferred_by: String,
pub created_at: String,
pub mechanism: Option<Mechanism>,
}Fields§
§target: String§link_type: String§note: String§inferred_by: String§created_at: StringWhen this link was created (immutable timestamp). Uses serde default for backward compat.
mechanism: Option<Mechanism>v0.45: optional structural causal mechanism on a depends /
supports edge. When present, the edge participates in
counterfactual (Pearl level 3) queries via twin-network
construction. Edges without a mechanism still participate in
level 2 (back-door / front-door identification); they simply
can’t answer twin-network counterfactuals.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Link
impl<'de> Deserialize<'de> for Link
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
Auto Trait Implementations§
impl Freeze for Link
impl RefUnwindSafe for Link
impl Send for Link
impl Sync for Link
impl Unpin for Link
impl UnsafeUnpin for Link
impl UnwindSafe for Link
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