pub struct ExtractEntitiesResponse {
pub entities: Vec<OdeEntity>,
pub model: String,
pub processing_time_ms: u64,
}Expand description
Response from POST /ode/extract on the ODE sidecar (ODE-2).
Fields§
§entities: Vec<OdeEntity>Extracted entities ordered by their start offset.
model: StringGLiNER model variant used for extraction.
processing_time_ms: u64Wall-clock time taken by the ODE sidecar in milliseconds.
Trait Implementations§
Source§impl Clone for ExtractEntitiesResponse
impl Clone for ExtractEntitiesResponse
Source§fn clone(&self) -> ExtractEntitiesResponse
fn clone(&self) -> ExtractEntitiesResponse
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 ExtractEntitiesResponse
impl Debug for ExtractEntitiesResponse
Source§impl<'de> Deserialize<'de> for ExtractEntitiesResponse
impl<'de> Deserialize<'de> for ExtractEntitiesResponse
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
Auto Trait Implementations§
impl Freeze for ExtractEntitiesResponse
impl RefUnwindSafe for ExtractEntitiesResponse
impl Send for ExtractEntitiesResponse
impl Sync for ExtractEntitiesResponse
impl Unpin for ExtractEntitiesResponse
impl UnsafeUnpin for ExtractEntitiesResponse
impl UnwindSafe for ExtractEntitiesResponse
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