linkdef_deleted

Function linkdef_deleted 

Source
pub fn linkdef_deleted(
    source_id: impl AsRef<str>,
    target: Option<&String>,
    name: impl AsRef<str>,
    wit_namespace: impl AsRef<str>,
    wit_package: impl AsRef<str>,
    interfaces: Option<&Vec<String>>,
) -> Value
Expand description

Generates an event payload for when a link definition is deleted

§Arguments

  • source_id - ID of the source component
  • target - Optional target component ID
  • name - Name of the link
  • wit_namespace - WIT namespace for the link
  • wit_package - WIT package name
  • interfaces - Optional list of interface names

§Returns

JSON object containing link deletion details