Skip to main content

OperatorEnvelope

Struct OperatorEnvelope 

Source
pub struct OperatorEnvelope {
Show 21 fields pub schema: String, pub binary_id: String, pub operator: String, pub schema_version: String, pub crate_name: String, pub plan_hash: String, pub requirement_id: String, pub subject_ids: Vec<u64>, pub result_definition_ref: String, pub anchor_tags: Vec<String>, pub neo4j_hit: bool, pub nodes: Vec<OperatorNode>, pub relationships: Vec<OperatorRel>, pub properties: Map<String, Value>, pub verify: bool, pub coverage_state: String, pub no_finding_reason: Option<String>, pub limitations: Vec<String>, pub content_hash: String, pub graph: Option<OperatorGraph>, pub telemetry: Option<Value>,
}
Expand description

Closed operator JSON. Unknown fields are never written.

Fields§

§schema: String§binary_id: String

Catalog BIN.*.

§operator: String

Catalog operator name.

§schema_version: String

Envelope semver.

§crate_name: String

Catalog crate name.

§plan_hash: String

Observation Plan bind (hex). Payload hash when unbound.

§requirement_id: String

Coverage key. "unbound" when the host did not supply one.

§subject_ids: Vec<u64>

Subject ids looked up.

§result_definition_ref: String

Plan result type.

§anchor_tags: Vec<String>

Tags that justified this return.

§neo4j_hit: bool

Neo4j availability only. Never Trust.

§nodes: Vec<OperatorNode>

Operator-typed nodes.

§relationships: Vec<OperatorRel>

Operator-typed relationships.

§properties: Map<String, Value>

Operator-typed properties (PROP binaries; otherwise empty object).

§verify: bool

Sheet VERIFY bit after projection.

§coverage_state: String

proposal | no-finding | limitation | truncation | failure.

§no_finding_reason: Option<String>

Required when nodes is empty and state is no-finding.

§limitations: Vec<String>

Distinct from failure.

§content_hash: String

Hash of the operator payload (nodes + rels + properties), not notes.

§graph: Option<OperatorGraph>

Grammar position of this return (weight / height / anchors / shape), deterministic from the frozen catalog. Graph-first renderers read it; additive to sheet 09’s required keys.

§telemetry: Option<Value>

Shared Aria spine. Optional (sheet 09). Not an API contract.

Implementations§

Source§

impl OperatorEnvelope

Source

pub fn schema_tag() -> &'static str

Format tag constructor helper.

Source

pub fn has_working_data(&self) -> bool

Working vertical: at least one node, relationship, or property. Empty no-finding / HOST limitation / empty pass-through are skeletons and must not ship on the production callback (PCVC, Neo4j, CLI).

Trait Implementations§

Source§

impl Clone for OperatorEnvelope

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for OperatorEnvelope

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for OperatorEnvelope

Source§

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 OperatorEnvelope

Source§

fn eq(&self, other: &Self) -> bool

Equality operator ==. Read more
1.0.0 (const: unstable) · Source§

fn ne(&self, other: &Rhs) -> bool

Inequality operator !=. Read more
Source§

impl Serialize for OperatorEnvelope

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more
Source§

impl StructuralPartialEq for OperatorEnvelope

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V