pub struct ImportEntityAlias {Show 13 fields
pub canonical_entity_id: EntityId,
pub alias_text: String,
pub alias_source: String,
pub match_evidence: Option<Value>,
pub confidence: f32,
pub merge_decision: MergeDecision,
pub scope: ScopeKey,
pub review_state: ReviewState,
pub is_human_confirmed: bool,
pub is_human_confirmed_final: bool,
pub superseded_by_entity_id: Option<EntityId>,
pub split_from_entity_id: Option<EntityId>,
pub source_envelope_id: EnvelopeId,
}Expand description
An entity alias ready for import.
Includes explicit scope semantics and durable review state (MASTER_SUPPORTING_DELTA §5.3, §5.4).
Fields§
§canonical_entity_id: EntityIdThe canonical entity.
alias_text: StringAlias text.
alias_source: StringSource of the alias.
match_evidence: Option<Value>Match evidence blob (opaque).
confidence: f32Confidence.
merge_decision: MergeDecisionMerge decision provenance.
scope: ScopeKeyExplicit scope for this alias.
review_state: ReviewStateReview state.
is_human_confirmed: boolWhether this has been human-confirmed.
is_human_confirmed_final: boolWhether this is final (only set by human review or audited migration).
superseded_by_entity_id: Option<EntityId>If this entity was superseded by a merge.
split_from_entity_id: Option<EntityId>Split history pointer.
source_envelope_id: EnvelopeIdSource envelope provenance.
Trait Implementations§
Source§impl Clone for ImportEntityAlias
impl Clone for ImportEntityAlias
Source§fn clone(&self) -> ImportEntityAlias
fn clone(&self) -> ImportEntityAlias
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 ImportEntityAlias
impl Debug for ImportEntityAlias
Source§impl<'de> Deserialize<'de> for ImportEntityAlias
impl<'de> Deserialize<'de> for ImportEntityAlias
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 JsonSchema for ImportEntityAlias
impl JsonSchema for ImportEntityAlias
Source§fn schema_name() -> String
fn schema_name() -> String
The name of the generated JSON Schema. Read more
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn is_referenceable() -> bool
fn is_referenceable() -> bool
Whether JSON Schemas generated for this type should be re-used where possible using the
$ref keyword. Read moreAuto Trait Implementations§
impl Freeze for ImportEntityAlias
impl RefUnwindSafe for ImportEntityAlias
impl Send for ImportEntityAlias
impl Sync for ImportEntityAlias
impl Unpin for ImportEntityAlias
impl UnsafeUnpin for ImportEntityAlias
impl UnwindSafe for ImportEntityAlias
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