pub struct ContextExpandCommand {
pub direction: ExpandDirection,
pub depth: Option<usize>,
pub token_budget: Option<usize>,
}Expand description
CTX EXPAND command options
Fields§
§direction: ExpandDirectionDirection to expand
depth: Option<usize>Maximum depth
token_budget: Option<usize>Token budget for auto-expansion
Trait Implementations§
Source§impl Clone for ContextExpandCommand
impl Clone for ContextExpandCommand
Source§fn clone(&self) -> ContextExpandCommand
fn clone(&self) -> ContextExpandCommand
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 ContextExpandCommand
impl Debug for ContextExpandCommand
Source§impl<'de> Deserialize<'de> for ContextExpandCommand
impl<'de> Deserialize<'de> for ContextExpandCommand
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 ContextExpandCommand
impl PartialEq for ContextExpandCommand
Source§impl Serialize for ContextExpandCommand
impl Serialize for ContextExpandCommand
impl StructuralPartialEq for ContextExpandCommand
Auto Trait Implementations§
impl Freeze for ContextExpandCommand
impl RefUnwindSafe for ContextExpandCommand
impl Send for ContextExpandCommand
impl Sync for ContextExpandCommand
impl Unpin for ContextExpandCommand
impl UnwindSafe for ContextExpandCommand
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