pub struct AcpRelayKnowledgePrompt {
pub query: Option<String>,
pub source_scope: Option<String>,
pub repository: Option<String>,
pub ref_selector: Option<String>,
pub path_filters: Vec<String>,
pub language_filters: Vec<String>,
pub limit: Option<usize>,
pub freshness: Option<String>,
pub max_context_bytes: Option<usize>,
pub include_code: Option<bool>,
pub exclude_generated: Option<bool>,
}Fields§
§query: Option<String>§source_scope: Option<String>§repository: Option<String>§ref_selector: Option<String>§path_filters: Vec<String>§language_filters: Vec<String>§limit: Option<usize>§freshness: Option<String>§max_context_bytes: Option<usize>§include_code: Option<bool>§exclude_generated: Option<bool>Trait Implementations§
Source§impl Clone for AcpRelayKnowledgePrompt
impl Clone for AcpRelayKnowledgePrompt
Source§fn clone(&self) -> AcpRelayKnowledgePrompt
fn clone(&self) -> AcpRelayKnowledgePrompt
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 AcpRelayKnowledgePrompt
impl Debug for AcpRelayKnowledgePrompt
Source§impl Default for AcpRelayKnowledgePrompt
impl Default for AcpRelayKnowledgePrompt
Source§fn default() -> AcpRelayKnowledgePrompt
fn default() -> AcpRelayKnowledgePrompt
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for AcpRelayKnowledgePrompt
impl<'de> Deserialize<'de> for AcpRelayKnowledgePrompt
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
impl Eq for AcpRelayKnowledgePrompt
Source§impl PartialEq for AcpRelayKnowledgePrompt
impl PartialEq for AcpRelayKnowledgePrompt
Source§impl Serialize for AcpRelayKnowledgePrompt
impl Serialize for AcpRelayKnowledgePrompt
impl StructuralPartialEq for AcpRelayKnowledgePrompt
Auto Trait Implementations§
impl Freeze for AcpRelayKnowledgePrompt
impl RefUnwindSafe for AcpRelayKnowledgePrompt
impl Send for AcpRelayKnowledgePrompt
impl Sync for AcpRelayKnowledgePrompt
impl Unpin for AcpRelayKnowledgePrompt
impl UnsafeUnpin for AcpRelayKnowledgePrompt
impl UnwindSafe for AcpRelayKnowledgePrompt
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.