pub struct CodeGraphPromptProjectionConfig {
pub max_files: usize,
pub max_symbols_total: usize,
pub max_symbols_per_file: usize,
pub max_edges_per_symbol: usize,
}Fields§
§max_files: usize§max_symbols_total: usize§max_symbols_per_file: usize§max_edges_per_symbol: usizeTrait Implementations§
Source§impl Clone for CodeGraphPromptProjectionConfig
impl Clone for CodeGraphPromptProjectionConfig
Source§fn clone(&self) -> CodeGraphPromptProjectionConfig
fn clone(&self) -> CodeGraphPromptProjectionConfig
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 Default for CodeGraphPromptProjectionConfig
impl Default for CodeGraphPromptProjectionConfig
Source§fn default() -> CodeGraphPromptProjectionConfig
fn default() -> CodeGraphPromptProjectionConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for CodeGraphPromptProjectionConfig
impl<'de> Deserialize<'de> for CodeGraphPromptProjectionConfig
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphPromptProjectionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<CodeGraphPromptProjectionConfig, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Serialize for CodeGraphPromptProjectionConfig
impl Serialize for CodeGraphPromptProjectionConfig
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
Auto Trait Implementations§
impl Freeze for CodeGraphPromptProjectionConfig
impl RefUnwindSafe for CodeGraphPromptProjectionConfig
impl Send for CodeGraphPromptProjectionConfig
impl Sync for CodeGraphPromptProjectionConfig
impl Unpin for CodeGraphPromptProjectionConfig
impl UnsafeUnpin for CodeGraphPromptProjectionConfig
impl UnwindSafe for CodeGraphPromptProjectionConfig
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