pub struct MatchWithContext {
pub message: ContextMessage,
pub before: Vec<ContextMessage>,
pub after: Vec<ContextMessage>,
}Expand description
A single match with its surrounding context messages.
Fields§
§message: ContextMessageThe matching message.
before: Vec<ContextMessage>Messages before the match (for context).
after: Vec<ContextMessage>Messages after the match (for context).
Trait Implementations§
Source§impl Clone for MatchWithContext
impl Clone for MatchWithContext
Source§fn clone(&self) -> MatchWithContext
fn clone(&self) -> MatchWithContext
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 MatchWithContext
impl Debug for MatchWithContext
Source§impl<'de> Deserialize<'de> for MatchWithContext
impl<'de> Deserialize<'de> for MatchWithContext
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 MatchWithContext
impl RefUnwindSafe for MatchWithContext
impl Send for MatchWithContext
impl Sync for MatchWithContext
impl Unpin for MatchWithContext
impl UnwindSafe for MatchWithContext
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