pub struct SemanticSearchPayload {
pub enabled: Option<bool>,
pub results: Option<Box<Vec<SemanticSearchResult>>>,
}Expand description
Payload returned by semantic search.
Fields§
§enabled: Option<bool>Whether the semantic search is enabled.
results: Option<Box<Vec<SemanticSearchResult>>>Trait Implementations§
Source§impl Clone for SemanticSearchPayload
impl Clone for SemanticSearchPayload
Source§fn clone(&self) -> SemanticSearchPayload
fn clone(&self) -> SemanticSearchPayload
Returns a duplicate of the value. Read more
1.0.0 · 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 SemanticSearchPayload
impl Debug for SemanticSearchPayload
Source§impl Default for SemanticSearchPayload
impl Default for SemanticSearchPayload
Source§fn default() -> SemanticSearchPayload
fn default() -> SemanticSearchPayload
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for SemanticSearchPayloadwhere
SemanticSearchPayload: Default,
impl<'de> Deserialize<'de> for SemanticSearchPayloadwhere
SemanticSearchPayload: Default,
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 SemanticSearchPayload
impl RefUnwindSafe for SemanticSearchPayload
impl Send for SemanticSearchPayload
impl Sync for SemanticSearchPayload
impl Unpin for SemanticSearchPayload
impl UnwindSafe for SemanticSearchPayload
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