pub struct ContextBundleRequest {
pub query: Option<String>,
pub repo_id: Option<String>,
pub workspace_path_hash: Option<String>,
pub workspace: Option<String>,
pub session_id: Option<String>,
pub task_id: Option<String>,
pub max_results: Option<usize>,
pub section_limit: Option<usize>,
pub include_artifact_pointers: bool,
pub current_git_branch: Option<String>,
pub current_commit_hash: Option<String>,
pub stale_after_days: Option<i64>,
}Fields§
§query: Option<String>§repo_id: Option<String>§workspace_path_hash: Option<String>§workspace: Option<String>§session_id: Option<String>§task_id: Option<String>§max_results: Option<usize>§section_limit: Option<usize>§include_artifact_pointers: bool§current_git_branch: Option<String>§current_commit_hash: Option<String>§stale_after_days: Option<i64>Trait Implementations§
Source§impl Clone for ContextBundleRequest
impl Clone for ContextBundleRequest
Source§fn clone(&self) -> ContextBundleRequest
fn clone(&self) -> ContextBundleRequest
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 ContextBundleRequest
impl Debug for ContextBundleRequest
Source§impl Default for ContextBundleRequest
impl Default for ContextBundleRequest
Source§fn default() -> ContextBundleRequest
fn default() -> ContextBundleRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextBundleRequest
impl<'de> Deserialize<'de> for ContextBundleRequest
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
Auto Trait Implementations§
impl Freeze for ContextBundleRequest
impl RefUnwindSafe for ContextBundleRequest
impl Send for ContextBundleRequest
impl Sync for ContextBundleRequest
impl Unpin for ContextBundleRequest
impl UnsafeUnpin for ContextBundleRequest
impl UnwindSafe for ContextBundleRequest
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
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<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreCreates a shared type from an unshared type.