pub struct RecallResponseModel {
pub query: Option<String>,
pub count: Option<i32>,
pub results: Option<Vec<HashMap<String, Value>>>,
pub profile: Option<String>,
pub namespace: Option<Option<String>>,
}Expand description
RecallResponseModel : Retrieved candidate engrams and query diagnostics.
Fields§
§query: Option<String>Search query
count: Option<i32>Retrieved candidate count
results: Option<Vec<HashMap<String, Value>>>Retrieved candidate engrams
profile: Option<String>Retrieval profile used
namespace: Option<Option<String>>Queried namespace partition
Implementations§
Source§impl RecallResponseModel
impl RecallResponseModel
Sourcepub fn new() -> RecallResponseModel
pub fn new() -> RecallResponseModel
Retrieved candidate engrams and query diagnostics.
Trait Implementations§
Source§impl Clone for RecallResponseModel
impl Clone for RecallResponseModel
Source§impl Debug for RecallResponseModel
impl Debug for RecallResponseModel
Source§impl Default for RecallResponseModel
impl Default for RecallResponseModel
Source§impl<'de> Deserialize<'de> for RecallResponseModel
impl<'de> Deserialize<'de> for RecallResponseModel
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 RecallResponseModel
impl PartialEq for RecallResponseModel
Source§impl Serialize for RecallResponseModel
impl Serialize for RecallResponseModel
impl StructuralPartialEq for RecallResponseModel
Auto Trait Implementations§
impl Freeze for RecallResponseModel
impl RefUnwindSafe for RecallResponseModel
impl Send for RecallResponseModel
impl Sync for RecallResponseModel
impl Unpin for RecallResponseModel
impl UnsafeUnpin for RecallResponseModel
impl UnwindSafe for RecallResponseModel
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