pub struct SearchSpansParams {
pub query: String,
pub top_k: Option<u32>,
}Expand description
GET /v1/search/spans — semantic search over span embeddings.
query is required, for the same reason TraceListParams::session_id is.
Fields§
§query: StringThe search text.
top_k: Option<u32>How many hits to return.
Trait Implementations§
Source§impl Clone for SearchSpansParams
impl Clone for SearchSpansParams
Source§fn clone(&self) -> SearchSpansParams
fn clone(&self) -> SearchSpansParams
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 ContractParams for SearchSpansParams
impl ContractParams for SearchSpansParams
Source§impl Debug for SearchSpansParams
impl Debug for SearchSpansParams
Source§impl Default for SearchSpansParams
impl Default for SearchSpansParams
Source§fn default() -> SearchSpansParams
fn default() -> SearchSpansParams
Returns the “default value” for a type. Read more
impl Eq for SearchSpansParams
Source§impl PartialEq for SearchSpansParams
impl PartialEq for SearchSpansParams
impl StructuralPartialEq for SearchSpansParams
Auto Trait Implementations§
impl Freeze for SearchSpansParams
impl RefUnwindSafe for SearchSpansParams
impl Send for SearchSpansParams
impl Sync for SearchSpansParams
impl Unpin for SearchSpansParams
impl UnsafeUnpin for SearchSpansParams
impl UnwindSafe for SearchSpansParams
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.