pub struct ContextIn {
pub budget_tokens: Option<i32>,
pub query: Option<String>,
pub repo: Option<String>,
}Fields§
§budget_tokens: Option<i32>BudgetTokens caps the bundle’s size. Clamped to [256, 32000]; 0 or absent uses 4000.
query: Option<String>Query is what to retrieve context for. Required, max 4000 bytes.
repo: Option<String>Repo narrows retrieval to one repository. Empty searches every repo the org has indexed.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for ContextIn
impl<'de> Deserialize<'de> for ContextIn
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 StructuralPartialEq for ContextIn
Auto Trait Implementations§
impl Freeze for ContextIn
impl RefUnwindSafe for ContextIn
impl Send for ContextIn
impl Sync for ContextIn
impl Unpin for ContextIn
impl UnsafeUnpin for ContextIn
impl UnwindSafe for ContextIn
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