pub struct SearchMatch {
pub session_id: String,
pub provider: String,
pub started_at: String,
pub ended_at: Option<String>,
pub workspace_path: Option<String>,
pub command: Option<String>,
pub event: AgentLogEvent,
pub snippet: String,
}Expand description
A single event that matched the search query.
Fields§
§session_id: String§provider: String§started_at: String§ended_at: Option<String>§workspace_path: Option<String>§command: Option<String>§event: AgentLogEvent§snippet: StringShort excerpt (~200 chars) of the matched text.
Trait Implementations§
Source§impl Clone for SearchMatch
impl Clone for SearchMatch
Source§fn clone(&self) -> SearchMatch
fn clone(&self) -> SearchMatch
Returns a duplicate of the value. Read more
1.0.0 · 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 SearchMatch
impl Debug for SearchMatch
Source§impl<'de> Deserialize<'de> for SearchMatch
impl<'de> Deserialize<'de> for SearchMatch
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 SearchMatch
impl RefUnwindSafe for SearchMatch
impl Send for SearchMatch
impl Sync for SearchMatch
impl Unpin for SearchMatch
impl UnsafeUnpin for SearchMatch
impl UnwindSafe for SearchMatch
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