Create a matcher for a specific session
(id: impl Into<String>)
| 61 | |
| 62 | /// Create a matcher for a specific session |
| 63 | pub fn session(id: impl Into<String>) -> Self { |
| 64 | Self { |
| 65 | session_id: Some(id.into()), |
| 66 | ..Default::default() |
| 67 | } |
| 68 | } |
| 69 | |
| 70 | /// Create a matcher for a specific skill (supports glob patterns) |
| 71 | pub fn skill(name: impl Into<String>) -> Self { |
no outgoing calls