pub struct SelectResult {
pub session_id: SessionId,
pub matched: Match,
pub pattern_index: usize,
}Expand description
Result of a multi-session select operation.
Fields§
§session_id: SessionIdThe session that matched.
matched: MatchThe match result.
pattern_index: usizeIndex of the pattern that matched (if multiple patterns provided).
Trait Implementations§
Source§impl Clone for SelectResult
impl Clone for SelectResult
Source§fn clone(&self) -> SelectResult
fn clone(&self) -> SelectResult
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 moreAuto Trait Implementations§
impl Freeze for SelectResult
impl RefUnwindSafe for SelectResult
impl Send for SelectResult
impl Sync for SelectResult
impl Unpin for SelectResult
impl UnwindSafe for SelectResult
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