pub struct SessionSearchRequest {
pub query: String,
pub limit: Option<i64>,
pub offset: Option<i64>,
pub include_outputs: Option<bool>,
}Expand description
What to search for, and how much of the answer to return.
The query is keywords, not a sentence: matching is prefix-based and the host drops the keywords that appear all over the corpus. The answer names both lists, so a caller can see what was actually searched.
Fields§
§query: StringTwo to four distinctive keywords. Empty is refused.
limit: Option<i64>Maximum matches to return; the host’s default when absent.
offset: Option<i64>Matches to skip, for paging.
include_outputs: Option<bool>Include text that came from tool output; off by default because it is the noisiest part of a transcript.
Trait Implementations§
Source§impl Clone for SessionSearchRequest
impl Clone for SessionSearchRequest
Source§impl Debug for SessionSearchRequest
impl Debug for SessionSearchRequest
Source§impl<'de> Deserialize<'de> for SessionSearchRequest
impl<'de> Deserialize<'de> for SessionSearchRequest
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 SessionSearchRequest
impl PartialEq for SessionSearchRequest
Source§impl Serialize for SessionSearchRequest
impl Serialize for SessionSearchRequest
impl StructuralPartialEq for SessionSearchRequest
Auto Trait Implementations§
impl Forget for SessionSearchRequest
impl Freeze for SessionSearchRequest
impl Move for SessionSearchRequest
impl RefUnwindSafe for SessionSearchRequest
impl Send for SessionSearchRequestwhere
RawVecInner: Send,
impl Sync for SessionSearchRequestwhere
RawVecInner: Sync,
impl Unpin for SessionSearchRequest
impl UnsafeUnpin for SessionSearchRequest
impl UnwindSafe for SessionSearchRequestwhere
RawVecInner: UnwindSafe,
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