pub struct ResolveEntityResponseDto {
pub outcome: &'static str,
pub tier: u8,
pub confidence: f32,
pub entity_id: Option<String>,
pub candidate_ids: Vec<String>,
}Expand description
POST /v1/entities/resolve response.
Fields§
§outcome: &'static strThe resolution outcome: resolved, created, ambiguous, not_found.
tier: u8Which resolver tier matched (1..=5; 0 if unresolved).
confidence: f32Match confidence in [0,1].
entity_id: Option<String>The resolved (or created) entity id as a UUID; null when unresolved or
ambiguous.
candidate_ids: Vec<String>Ranked candidate entity ids (UUIDs) when ambiguous; empty otherwise.
Trait Implementations§
Source§impl Debug for ResolveEntityResponseDto
impl Debug for ResolveEntityResponseDto
Source§impl From<EntityResolveResponse> for ResolveEntityResponseDto
impl From<EntityResolveResponse> for ResolveEntityResponseDto
Source§fn from(r: EntityResolveResponse) -> Self
fn from(r: EntityResolveResponse) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for ResolveEntityResponseDto
impl RefUnwindSafe for ResolveEntityResponseDto
impl Send for ResolveEntityResponseDto
impl Sync for ResolveEntityResponseDto
impl Unpin for ResolveEntityResponseDto
impl UnsafeUnpin for ResolveEntityResponseDto
impl UnwindSafe for ResolveEntityResponseDto
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