Check if this result contains a session command
(&self)
| 112 | |
| 113 | /// Check if this result contains a session command |
| 114 | pub fn is_session_command(&self) -> bool { |
| 115 | self.session_result.is_some() |
| 116 | } |
| 117 | |
| 118 | /// Get a formatted message for session commands (returns None if not a session command) |
| 119 | pub fn get_session_message(&self) -> Option<String> { |