pub struct EntityResolveResponse {
pub outcome: ResolutionOutcomeWire,
pub tier: u8,
pub confidence: f32,
pub resolved_entity: WireUuid,
pub candidate_ids: Vec<WireUuid>,
pub audit_id: WireUuid,
}Expand description
ENTITY_RESOLVE_RESP (0x01B6).
Fields§
§outcome: ResolutionOutcomeWire§tier: u8Which tier resolved (1..=5; 0 if unresolved).
confidence: f32§resolved_entity: WireUuidPopulated when outcome == Resolved | Created (single id);
[0; 16] for Ambiguous | NotFound.
candidate_ids: Vec<WireUuid>Populated when outcome == Ambiguous; ranked by score.
audit_id: WireUuid[0; 16] unless an ambiguity audit was written.
Trait Implementations§
Source§impl Clone for EntityResolveResponse
impl Clone for EntityResolveResponse
Source§impl Debug for EntityResolveResponse
impl Debug for EntityResolveResponse
Source§impl<'de> Deserialize<'de> for EntityResolveResponse
impl<'de> Deserialize<'de> for EntityResolveResponse
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 EntityResolveResponse
impl PartialEq for EntityResolveResponse
Source§impl Serialize for EntityResolveResponse
impl Serialize for EntityResolveResponse
impl StructuralPartialEq for EntityResolveResponse
Auto Trait Implementations§
impl Freeze for EntityResolveResponse
impl RefUnwindSafe for EntityResolveResponse
impl Send for EntityResolveResponse
impl Sync for EntityResolveResponse
impl Unpin for EntityResolveResponse
impl UnsafeUnpin for EntityResolveResponse
impl UnwindSafe for EntityResolveResponse
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