pub struct KnowledgeQuery {
pub scope: Option<MemoryScope>,
pub text: String,
pub kind: Option<KnowledgeKind>,
pub limit: usize,
pub include_global: bool,
}Fields§
§scope: Option<MemoryScope>§text: String§kind: Option<KnowledgeKind>§limit: usize§include_global: boolTrait 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 moreSource§impl Debug for KnowledgeQuery
impl Debug for KnowledgeQuery
Source§impl<'de> Deserialize<'de> for KnowledgeQuery
impl<'de> Deserialize<'de> for KnowledgeQuery
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 KnowledgeQuery
impl PartialEq for KnowledgeQuery
Source§fn eq(&self, other: &KnowledgeQuery) -> bool
fn eq(&self, other: &KnowledgeQuery) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for KnowledgeQuery
impl Serialize for KnowledgeQuery
impl StructuralPartialEq for KnowledgeQuery
Auto 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