pub struct RecallBody {
pub query: String,
pub max_results: Option<u32>,
pub subject: Option<String>,
pub scope: Option<String>,
}Expand description
POST /v1/recall body. Accepts query or its alias cue.
Fields§
§query: String§max_results: Option<u32>§subject: Option<String>§scope: Option<String>Read scope: "space" (default — the caller’s own space) or
"namespace" (every space in the caller’s namespace, fanned out across
shards and merged). Case-insensitive; anything else is rejected.
Trait Implementations§
Source§impl Debug for RecallBody
impl Debug for RecallBody
Source§impl<'de> Deserialize<'de> for RecallBody
impl<'de> Deserialize<'de> for RecallBody
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 RecallBody
impl RefUnwindSafe for RecallBody
impl Send for RecallBody
impl Sync for RecallBody
impl Unpin for RecallBody
impl UnsafeUnpin for RecallBody
impl UnwindSafe for RecallBody
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