pub struct KnowledgeQuery {
pub text: String,
pub source_filter: Option<String>,
pub limit: usize,
}Expand description
Query parameters for knowledge search.
Fields§
§text: StringFree-text search query.
source_filter: Option<String>Optional filter to restrict results to a specific source URI prefix.
limit: usizeMaximum number of results to return.
Trait Implementations§
Source§impl Clone for KnowledgeQuery
impl Clone for KnowledgeQuery
Source§fn clone(&self) -> KnowledgeQuery
fn clone(&self) -> KnowledgeQuery
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 moreAuto Trait Implementations§
impl Freeze for KnowledgeQuery
impl RefUnwindSafe for KnowledgeQuery
impl Send for KnowledgeQuery
impl Sync for KnowledgeQuery
impl Unpin for KnowledgeQuery
impl UnsafeUnpin for KnowledgeQuery
impl UnwindSafe for KnowledgeQuery
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