pub struct ContextSearchRequest {Show 15 fields
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 event_type: Option<String>,
pub event_types: Vec<String>,
pub event_type_filters: Vec<String>,
pub failure_only: bool,
pub max_results: 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>§event_type: Option<String>§event_types: Vec<String>§event_type_filters: Vec<String>§failure_only: bool§max_results: 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 ContextSearchRequest
impl Clone for ContextSearchRequest
Source§fn clone(&self) -> ContextSearchRequest
fn clone(&self) -> ContextSearchRequest
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 ContextSearchRequest
impl Debug for ContextSearchRequest
Source§impl Default for ContextSearchRequest
impl Default for ContextSearchRequest
Source§fn default() -> ContextSearchRequest
fn default() -> ContextSearchRequest
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ContextSearchRequest
impl<'de> Deserialize<'de> for ContextSearchRequest
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 ContextSearchRequest
impl RefUnwindSafe for ContextSearchRequest
impl Send for ContextSearchRequest
impl Sync for ContextSearchRequest
impl Unpin for ContextSearchRequest
impl UnsafeUnpin for ContextSearchRequest
impl UnwindSafe for ContextSearchRequest
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.