pub struct ContextEventView {Show 21 fields
pub id: i64,
pub repo_id: Option<String>,
pub workspace_path_hash: 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 source: String,
pub event_type: String,
pub command_name: Option<String>,
pub tool_name: Option<String>,
pub cwd: Option<String>,
pub exit_code: Option<i64>,
pub started_at: String,
pub finished_at: Option<String>,
pub redaction_status: String,
pub retention_policy: String,
pub metadata: Value,
pub created_at: String,
}Fields§
§id: i64§repo_id: Option<String>§workspace_path_hash: 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>§source: String§event_type: String§command_name: Option<String>§tool_name: Option<String>§cwd: Option<String>§exit_code: Option<i64>§started_at: String§finished_at: Option<String>§redaction_status: String§retention_policy: String§metadata: Value§created_at: StringTrait Implementations§
Source§impl Clone for ContextEventView
impl Clone for ContextEventView
Source§fn clone(&self) -> ContextEventView
fn clone(&self) -> ContextEventView
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 ContextEventView
impl Debug for ContextEventView
Auto Trait Implementations§
impl Freeze for ContextEventView
impl RefUnwindSafe for ContextEventView
impl Send for ContextEventView
impl Sync for ContextEventView
impl Unpin for ContextEventView
impl UnsafeUnpin for ContextEventView
impl UnwindSafe for ContextEventView
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,
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.