pub struct ContextRecordRequest {Show 31 fields
pub source: String,
pub source_version: Option<String>,
pub repo_id: Option<String>,
pub workspace_path_hash: Option<String>,
pub workspace: Option<String>,
pub git_branch: Option<String>,
pub worktree_name: Option<String>,
pub commit_hash: Option<String>,
pub session_id: String,
pub task_id: Option<String>,
pub agent_id: Option<String>,
pub event_type: String,
pub command: Option<String>,
pub command_name: Option<String>,
pub tool: Option<String>,
pub tool_name: Option<String>,
pub cwd: Option<String>,
pub exit_code: Option<i64>,
pub summary: Option<String>,
pub key_errors: Vec<String>,
pub touched_files: Vec<String>,
pub reducer: Option<ContextReducerInput>,
pub external_reducer: Option<String>,
pub raw_pointer: Option<String>,
pub external_unverified: Option<bool>,
pub labels: Vec<String>,
pub retention_policy: Option<String>,
pub raw_artifact_id: Option<String>,
pub metadata: Option<Value>,
pub started_at: Option<String>,
pub finished_at: Option<String>,
}Fields§
§source: String§source_version: Option<String>§repo_id: Option<String>§workspace_path_hash: Option<String>§workspace: Option<String>§git_branch: Option<String>§worktree_name: Option<String>§commit_hash: Option<String>§session_id: String§task_id: Option<String>§agent_id: Option<String>§event_type: String§command: Option<String>§command_name: Option<String>§tool: Option<String>§tool_name: Option<String>§cwd: Option<String>§exit_code: Option<i64>§summary: Option<String>§key_errors: Vec<String>§touched_files: Vec<String>§reducer: Option<ContextReducerInput>§external_reducer: Option<String>§raw_pointer: Option<String>§external_unverified: Option<bool>§labels: Vec<String>§retention_policy: Option<String>§raw_artifact_id: Option<String>§metadata: Option<Value>§started_at: Option<String>§finished_at: Option<String>Trait Implementations§
Source§impl Clone for ContextRecordRequest
impl Clone for ContextRecordRequest
Source§fn clone(&self) -> ContextRecordRequest
fn clone(&self) -> ContextRecordRequest
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 ContextRecordRequest
impl Debug for ContextRecordRequest
Source§impl<'de> Deserialize<'de> for ContextRecordRequest
impl<'de> Deserialize<'de> for ContextRecordRequest
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 ContextRecordRequest
impl RefUnwindSafe for ContextRecordRequest
impl Send for ContextRecordRequest
impl Sync for ContextRecordRequest
impl Unpin for ContextRecordRequest
impl UnsafeUnpin for ContextRecordRequest
impl UnwindSafe for ContextRecordRequest
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.