pub struct WorkspaceMatch {
pub match_type: String,
pub content: String,
pub timestamp: u64,
}Expand description
A single match found in a workspace query.
Fields§
§match_type: StringType of matched entity: “message”, “channel”, or “agent”.
content: StringContent or name of the matched entity.
timestamp: u64Timestamp (epoch millis) of the match, or 0 if not applicable.
Trait Implementations§
Source§impl Clone for WorkspaceMatch
impl Clone for WorkspaceMatch
Source§fn clone(&self) -> WorkspaceMatch
fn clone(&self) -> WorkspaceMatch
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 WorkspaceMatch
impl Debug for WorkspaceMatch
Source§impl<'de> Deserialize<'de> for WorkspaceMatch
impl<'de> Deserialize<'de> for WorkspaceMatch
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 WorkspaceMatch
impl RefUnwindSafe for WorkspaceMatch
impl Send for WorkspaceMatch
impl Sync for WorkspaceMatch
impl Unpin for WorkspaceMatch
impl UnsafeUnpin for WorkspaceMatch
impl UnwindSafe for WorkspaceMatch
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